Skip to main content
Glama

fetch

Read-only

读取:按 search 返回的 post: 或 card: 标识读取当前公开原文。

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
idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, closed-world behavior, so the safety profile is covered. The description adds that only 'current public' original content is retrievable, which implies private/removed content is unavailable — a useful trait. It says nothing about idempotency semantics (annotation says false), error behavior for stale or invalid ids, or whether the returned text is raw vs. transformed.

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

Conciseness4/5

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

A single front-loaded sentence with the usage constraint in the right place. The leading '读取:' label restates the verb and is mild padding, but nothing else is wasted.

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?

An output schema exists, so return format need not be explained, and annotations cover safety. Still missing for a fetch tool: behavior when the id is invalid, stale, or points to non-public content, and any disambiguation from overlapping siblings that retrieve posts or cards.

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 description coverage is 0%, so the description carries the parameter burden, and it delivers the key detail the schema lacks: the id is a prefixed reference ('post:' / 'card:') obtained from search. It does not mention the 6–100 character constraint or what a malformed prefix does.

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?

States a specific verb (读取) and a specific resource semantics — the current public original text, addressed by a 'post:' or 'card:' identifier. That is clearer than the bare name 'fetch'. It does not, however, differentiate itself from siblings like get_post, get_experience_card, or get_agent_card, which look like they retrieve similar objects.

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?

Gives a clear precondition: the identifier must come from results returned by search, and it must carry the post: or card: prefix. No explicit when-not-to-use or named alternative (e.g., 'use get_post instead when...') is provided, so it stops short of a full routing statement.

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