Skip to main content
Glama

Read one item from the user’s memory

fetch
Read-onlyIdempotent

Retrieve the full contents of a single item from the user’s memory by its id. Ids come from search results. Use this when a search result looks relevant and you need the whole record rather than the excerpt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id of an item, exactly as returned by `search`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id that was requested.
urlYesAbsolute link to this record on the user’s memory graph.
textYesThe record’s full contents as plain text. May be empty if the record has none.
titleYesHuman-readable name of the record.
metadataYesProvenance, where known. Any key may be absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "description": "The id that was requested.",
      +      "type": "string"
      +    },
      +    "metadata": {
      +      "additionalProperties": false,
      +      "description": "Provenance, where known. Any key may be absent.",
      +      "properties": {
      +        "fetched_at": {
      +          "description": "When Mitosis last ingested it.",
      +          "type": "string"
      +        },
      +        "integration": {
      +          "description": "Integration that supplied it, e.g. google-workspace.",
      +          "type": "string"
      +        },
      +        "sensitivity": {
      +          "description": "Sensitivity label, where the source sets one.",
      +          "type": "string"
      +        },
      +        "source": {
      +          "description": "Source table the record came from.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "text": {
      +      "description": "The record’s full contents as plain text. May be empty if the record has none.",
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "Human-readable name of the record.",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "Absolute link to this record on the user’s memory graph.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "title",
      +    "text",
      +    "url",
      +    "metadata"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only and idempotent hints. The description adds behavioral context about returning full contents versus excerpts, which goes beyond the annotations. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action, and no wasted words. It communicates purpose and usage guideline efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read tool with robust annotations and an output schema, the description is complete. It provides enough context for correct invocation without needing to explain return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with the id parameter described. The description adds extra meaning by clarifying that ids are exactly as returned by search, reinforcing correct usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves a single item by id, with a specific verb and resource. It also distinguishes from sibling search by noting it returns the full record rather than an excerpt.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use it ('when a search result looks relevant and you need the whole record') and points to the alternative search for excerpts. Also notes ids come from search results, giving clear context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources