Skip to main content
Glama

Read an offer

get_offer
Read-onlyIdempotent

Read an offer

One offer with its status, checks, health and market. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.

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": "get_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe offer id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/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 the safety profile is covered. The description adds genuinely new behavioral information beyond that: an authorization boundary tied to seller status and the specific failure mode (403 not_seller). It says nothing about missing-offer behavior, but the added auth detail is substantive.

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?

Two short sentences, front-loaded with the core action, then the returned fields, then the access constraint — a sensible order. The only waste is the opening line that restates the title verbatim.

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-record read with no output schema, the description compensates by enumerating the returned facets (status, checks, health, market) and flags the authorization failure. The remaining gap — not-found behavior and whether relations are expanded — is minor for a tool this simple.

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 required `id` parameter already fully documented in the schema (100% coverage, uuid format). The description's "One offer" loosely implies lookup by identifier but adds no semantics beyond what the schema provides. Baseline 3 applies when the schema does the heavy lifting.

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?

"Read an offer" gives a specific verb and resource, and the follow-up clause enumerates what comes back (status, checks, health, market), which implicitly distinguishes it from the narrower get_offer_health sibling. It stops short of naming that sibling explicitly, so the differentiation is inferential rather than stated.

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?

The description states a hard eligibility precondition — sellers only, with a 403 not_seller for accounts that have not accepted selling terms — which is exactly the kind of context an agent needs before calling. It does not, however, say when to prefer this tool over get_offer_health or other read siblings.

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