Skip to main content
Glama

Weight Class

Fetch a Weight Class record

fetch
Read-onlyIdempotent

The full nutrition numbers and source of one result from search: a restaurant item, a chain (its top meals by protein per calorie) or a USDA food.

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
idYesAn id from search, e.g. "item:…", "chain:chick-fil-a" or "food:2705383".

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYes
titleYes
metadataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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, so safety needs no restating. The description adds one genuinely non-obvious behavior — that a chain record returns its top meals by protein per calorie — but says nothing about failure behavior for an unknown or malformed id.

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?

One sentence, front-loaded with the payoff (nutrition numbers and source), with no filler. The clipped subject ('The full nutrition numbers and source of one result') reads slightly telegraphic but wastes no words.

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 single-parameter lookup with a full output schema and complete annotations, the description covers the essentials: what the record contains and which id forms are accepted. Only the routing distinction from lookup_food and error semantics are absent, which are minor for this shape.

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 100% and the single id parameter already documents the accepted prefixes with examples, so the description cannot add much. It reinforces that the id must come from search but provides no additional format or validation detail beyond the schema.

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 concretely what comes back: full nutrition numbers plus source for a single search result, enumerating the three record kinds (restaurant item, chain, USDA food). The verb is only in the title and the odd 'Weight Class record' phrasing is never explained, but an agent can still tell this is a by-id detail lookup distinct from search-style siblings.

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 'one result from search' implies this is the follow-up call after search returns an id, which is useful implied usage. However there is no explicit when-not guidance and no differentiation from lookup_food or find_restaurant_items, leaving the agent to guess which detail tool to pick.

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