Skip to main content
Glama

Offer details

get_offer
Read-onlyIdempotent

One offer: texts, client, buttons, protection, its documents (with each document's link and views), visits, engagement and the latest responses.

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": {
      "offer_id": "<offer_id>"
    },
    "name": "get_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's real contribution is disclosing the payload is a heavy composite (documents with links and per-document views, visits, engagement, latest responses), which tells the agent this call is broad and may overlap with narrower tools. It says nothing about failure behavior for a missing offer_id or cost/latency, so it stops short of a 4.

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?

A single dense sentence-fragment with zero filler, and the key fact (one offer, not a list) is front-loaded. It loses a point only because the fragmentary, colon-list style reads like a field dump rather than a stated action.

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?

With no output schema, the description carries the return-value burden and does so by enumerating the contents of the offer payload, which is the main thing an agent needs to decide whether to call it. Given a 1-parameter read-only tool with strong annotations, only the parameter and error-path details are missing.

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

Parameters2/5

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

Schema description coverage is 0% and there is one required parameter, offer_id, which the description never explains — not where to obtain it, nor what an invalid ID yields. The name is largely self-explanatory, but the description does nothing to compensate for the missing schema documentation.

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?

"One offer:" plus an enumerated payload (texts, client, buttons, protection, documents with links and views, visits, engagement, latest responses) makes the resource and the breadth of what is returned unmistakable. It is not a verb phrase and never names a sibling, but the composite/aggregate nature of the retrieval is clear enough to distinguish it from narrow siblings like list_offer_responses or get_document_stats.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g., needing an existing offer_id), and no routing to alternatives such as list_offer_responses or get_document_text. The only usage signal is implicit from "One offer" (single resource vs. list), which the agent must infer.

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