Skip to main content
Glama

One offer's change history

offer_history
Read-only

What changed on one offer, newest first: its changelog events (listed, verified, terms_updated, expired, incidents, …) and edits to its public facts (what is free, limits, card rule, expiry, vendor URL), each with a { from, to } diff when fields changed. Same data and paging as GET /api/v1/offers/{slug}/history.

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": {
      "slug": "<slug>"
    },
    "name": "offer_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
slugYes
limitNo
sinceNoYYYY-MM-DD or an ISO 8601 date-time with a time zone

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful behavior the annotations cannot: newest-first ordering, the specific event categories (listed, verified, terms_updated, expired, incidents), and the { from, to } diff shape on field edits. It does not state default page size, max page size, or whether the event set is filtered by date.

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?

Front-loaded with the answer to 'what do I get', followed by the concrete data shape and a compact pointer to the equivalent REST endpoint. Dense but every clause carries information; no filler sentences.

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?

No output schema exists, and the description does the work of describing the return: event entries plus field edits with from/to diffs, ordered newest first. Paging is acknowledged. What remains thin (page/limit defaults) is a small gap for a read-only history tool, since the schema's bounds hint at the ranges anyway.

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?

With only 25% schema coverage, only 'since' is documented in the schema. The description mentions paging and points at the underlying GET /api/v1/offers/{slug}/history for identical semantics, which helps, but it never explains what page and limit mean in practice, their defaults, or how slug is resolved. It partially compensates for the coverage gap rather than closing it.

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 a specific verb and resource: the change history of one offer, newest first. The phrase 'changelog events ... and edits to its public facts' makes the content concrete, and 'one offer' implicitly separates it from the sibling recent_changes feed, though no sibling is named explicitly.

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?

Usage is implied by the scope: fetch this when you need the history of a single offer. There is no explicit statement of when to prefer get_offer or recent_changes instead, and no prerequisite guidance, so the agent must infer the routing.

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.