Skip to main content
Glama

Open a search result

fetch
Read-onlyIdempotent

Open a search result by id. Reading a chat marks it read and shows in its Min AI. A profile's owner sees your person's agent looked: tell your person first, then fetch the id with #told on the end.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn id from search, e.g. conv:… · plan:… · hunch:… · profile:<handle>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "id": {
      -      "type": "string"
      -    },
      -    "metadata": {
      -      "additionalProperties": true,
      -      "properties": {},
      -      "type": "object"
      -    },
      -    "text": {
      -      "type": "string"
      -    },
      -    "title": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "title",
      -    "text",
      -    "url"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

B3.2/5.0
Behavior2/5

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

The description does the hard work of disclosing side effects the annotations hide: reading a chat marks it read and surfaces it in a Min AI, and a profile's owner can see that your person's agent looked. That is exactly the kind of context an agent needs. However, those disclosed effects are state changes and third-party visibility, which conflict with readOnlyHint=true, so the behavioral story is inconsistent with the structured metadata.

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

Conciseness3/5

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

Three short sentences with the core action front-loaded, which is good. The latter half is compressed to the point of opacity ("shows in its Min AI", "your person's agent looked"), so the agent has to guess at the mechanics rather than being told plainly.

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

Completeness3/5

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

With one fully described parameter and annotations present, the description covers the critical non-obvious behavior (read-marking, owner visibility, the #told protocol). It still leaves out what fetch actually returns and how it differs from the dedicated read_* tools, which matters for a dispatcher-shaped tool.

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%, so the baseline would be 3, but the description adds a genuine convention not present in the schema: appending #told to the id after telling your person. That is actionable syntax that changes how the single parameter is formed.

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

Purpose4/5

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

The description gives a specific verb and resource ("Open a search result by id") and the schema enumerates the id kinds it accepts (conv:, plan:, hunch:, profile:), so an agent understands this is a generic dispatcher over search results. It never names the overlapping siblings read_chat, read_plan, read_profile or read_thread, so the boundary with those is left implicit.

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

Usage Guidelines3/5

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

There is real conditional guidance: tell your person first before fetching a profile, and append #told. But there is no statement of when to call fetch versus the dedicated read_* siblings, nor any prerequisite that ids must come from a prior search call (that only appears in the schema).

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.