Skip to main content
Glama

Fetch a BrightKey document by id

fetch
Read-only

Fetch full content for an id returned by search (uni:, school:/, answer:).

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
langNoResponse language; defaults to en.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / maxLength
      Added value: +200
  2. 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 readOnlyHint=true and openWorldHint=false, so the safe-read profile is covered. The description adds that it returns full content rather than snippets, which is useful contrast with 'search'. It does not describe error behavior for unknown or stale ids, which matters since ids originate from a different call.

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?

A single front-loaded sentence with the action, the scope, and the id formats — no filler. The parenthetical examples are the only elaboration and they earn their place by being the otherwise-undocumented parameter constraint.

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 simple two-parameter read tool with no output schema and annotations covering the safety profile, the description supplies the essential context: what comes back (full content) and what inputs are legal. Only the failure mode for malformed or expired ids is left implicit.

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 50%: 'lang' is described in the schema, but 'id' has no schema description at all. The description compensates by documenting the accepted id shapes (uni:<slug>, school:<city>/<slug>, answer:<slug>), which is the key semantic detail an agent needs. It could also state whether slugs are case-sensitive or what happens on a stale id.

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?

Names a specific verb ('Fetch') and resource ('full content') scoped by an identifier, and the title clarifies it returns a single document by id. The namespace prefixes (uni:, school:, answer:) further pin down which document types it accepts. It does not explicitly contrast itself with siblings beyond referencing where ids come from.

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?

The phrase 'for an id returned by search' establishes a prerequisite and implies the use-after-search workflow, naming the 'search' sibling as the source of input. There is no guidance on what to do for invalid/missing ids or when not to use it (e.g., when a profile tool would suffice).

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