ok() put only a summary string ("8 result(s)") in `content` and the
actual payload only in `structuredContent`. Tools declare no
outputSchema, and claude.ai renders only the text blocks, so
memory.search / memory.list returned counts with no ids — the caller
could not read or memory.get anything it found. The same helper backs
every tool, so memory.get, snippet.get (body dropped) and snippet.list
were equally affected; project.identify and memory.write only looked
fine because their summaries embed the id.
The first text block is now `<summary>\n<JSON payload>`, per the MCP
spec's guidance that structured results also be returned as serialized
JSON text. structuredContent is unchanged for clients that consume it.
One block rather than two because some clients render only the first.
Adds integration tests asserting that the first text block of
memory.list, memory.search, memory.get, snippet.list and snippet.get
carries ids/content, not just the count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>