Skip to main content
Glama

取得搜尋結果的完整內容

fetch
Read-onlyIdempotent

以 search 回傳的 id 取該筆的完整內容(id/title/text/url/metadata)。A string which is a unique identifier for the search document.

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
idYesA string which is a unique identifier for the search document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond that by disclosing the returned fields, which matters because there is no output schema; it does not say what happens for an invalid or expired id, which is the remaining gap.

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?

The first sentence carries all the real information and is well front-loaded. The second sentence is the schema's parameter description copied verbatim, adding nothing and slightly diluting the definition.

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

Completeness4/5

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

For a one-parameter read tool with rich annotations, the description plus annotations cover purpose, workflow position, and return fields. Only the failure mode for a bad id is unspecified, which is minor at this complexity.

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% and there is only one parameter, so the schema already defines id as a unique string. The description still adds meaning by stating where the id comes from — an id returned by search — which prevents an agent from guessing or inventing identifiers.

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?

Names a specific verb+resource: retrieve the full content of one record by its id. It also names the sibling that produces that id (search) and enumerates what the full content contains (id/title/text/url/metadata), so an agent can distinguish it from search and the data_* siblings immediately.

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

Usage Guidelines4/5

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

The intended workflow is clear: this tool is the follow-up step that expands a search hit into its full record. There is no explicit when-not-to-use clause or note about what to do if the id is stale, but the sequencing guidance is enough to select it correctly.

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