Skip to main content
Glama

Get offer

get_offer
Read-onlyIdempotent

Read one offer with its visit list (when, how long, device, how far) and reading time per page or section. Use when the user asks what exactly a prospect read in an offer.

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
idYesOffer id (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 fully covered. The description's added value is disclosing the shape of the result (per-visit timing/device/distance, per-page reading time), which helps the agent know what it will get back. It says nothing about result size, pagination, or behavior for offers with many visits, so against already-rich annotations this is a modest addition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: the first front-loads what is returned, the second gives the usage trigger. No filler, no repetition of the tool name or title.

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 a single required parameter, no output schema, and full annotation coverage, the definition needs mainly to describe what the read yields, and it does (visit list fields and per-page reading time). Minor gap: nothing about error behavior for an invalid id or about how large a visit list can be.

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, id, with 100% schema description coverage ("Offer id (uuid)"). The description adds no meaning beyond that — no note on where to obtain the id or what happens with an unknown id. Baseline 3 is appropriate when the schema already documents the only parameter.

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 ("Read one offer") and enumerates the returned payload — visit list with when/how long/device/how far plus reading time per page or section. That is well beyond restating the title, though it does not name a sibling tool it must be distinguished from (e.g., get_campaign_stats).

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?

Gives an explicit trigger: "Use when the user asks what exactly a prospect read in an offer." This tells the agent the question shape that selects this tool. It stops short of naming alternatives or stating when-not to use it, so it is clear context rather than full routing guidance.

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.