Skip to main content
Glama

Fetch a model

fetch
Read-onlyIdempotent

The full content of one of HeavenPC's server racks (an id returned by search): our data, its filter values, its official data and its address.

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
marketNoThe market: us = the United States (Amazon.com, in English), fr = France (Amazon.fr, in French). Each market has its own catalog.us

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / market
      Added value: +{
      +  "default": "us",
      +  "description": "The market: us = the United States (Amazon.com, in English), fr = France (Amazon.fr, in French). Each market has its own catalog.",
      +  "enum": [
      +    "us",
      +    "fr"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description adds that the call returns the complete record rather than a summary, plus a partial enumeration of returned fields, but says nothing about failure behavior for unknown ids or market-specific availability.

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?

It is a single compact sentence with an embedded prerequisite, so there is little waste. The mid-sentence parenthetical and the unexplained rack metaphor make it harder to parse than its length warrants.

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 no output schema, the description does the right thing by sketching the returned content, but 'our data, its filter values, its official data and its address' is too vague to be actionable. For a simple two-parameter read tool this is adequate but leaves the return shape and the distinction from get_model unresolved.

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

Parameters3/5

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

Schema coverage is only 50%: market is fully documented in the schema, while id is a bare string there. The description partly compensates by stating that id is the identifier returned by search and refers to a single model, though it does not clarify format or scope relative to market.

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

Purpose3/5

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

The verb/resource are nominally clear (fetch the full content of a model by id), but the resource is described as 'one of HeavenPC's server racks', a metaphor that never resolves into 'model'. It also fails to distinguish itself from the sibling get_model, which an agent would reasonably assume does the same thing.

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 parenthetical 'an id returned by search' gives a real prerequisite and routing hint, so usage is implied rather than absent. However nothing states when to choose fetch over get_model or search_models, and no exclusion conditions are given.

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