Skip to main content
Glama

fetch

Read-onlyIdempotent

Use this when you already have a water id from search and need the readable detail: species and a conditions summary when one is already cached. A closed state is not available. This does not fetch a live forecast.

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
idYesWater id returned by search.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYes
titleYes
metadataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, closed-world, non-destructive call, so the safety profile needs no restating. The description does add genuinely useful behavior: the conditions summary is returned only when one is already cached, and no live forecast is produced. The caching note is the strongest addition; the "closed state" sentence adds ambiguity rather than clarity.

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?

Three short sentences with the usage trigger front-loaded and no filler or repetition of the tool name. The middle sentence about closed state is the only weak link, as it consumes space without resolving into a clear 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?

An output schema exists, so the description need not explain return values, and it correctly focuses on the input prerequisite, the cached-versus-live distinction, and scope limits. For a single-parameter read tool with full annotation coverage, the only missing piece is a clear statement of what happens when no conditions summary is cached.

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?

There is a single parameter with full schema description coverage, and the schema already documents it as "Water id returned by search." The description reinforces the same provenance (id comes from search) but adds no syntax, format, or edge-case detail beyond that. Baseline 3 is appropriate when the schema carries the parameter meaning.

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 names a specific verb-and-resource pairing: fetch the readable detail for a water id, returning species and a cached conditions summary. It also carves out what it is not ("does not fetch a live forecast"), which separates it from a forecast sibling. The one unclear phrase is "A closed state is not available," which reads ambiguously and does not clearly say whether closed waters are excluded or simply unrepresentable.

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?

It gives an explicit precondition ("when you already have a water id from search") and an explicit exclusion ("does not fetch a live forecast"), so an agent knows both when to reach for this tool and one case to avoid it. It stops short of naming the alternative tool to use for live forecasts, leaving that inference to the agent.

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