Skip to main content
Glama

Get offer

discond_get_offer
Read-onlyIdempotent

Get one Discond offer by id: headline, terms, validity and redeem links. Requires the user to be signed in to Discond.

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

Input Schema

NameRequiredDescriptionDefault
offer_idYesOffer id from discond_list_offers, discond_get_business or discond_find_discounts.
response_formatNomarkdown (default, human-readable) or json (structured)markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / offer_id / description
      Added value: +"Offer id from discond_list_offers, discond_get_business or discond_find_discounts."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and open-world, so the description focuses on what they cannot express: an authentication requirement and the shape of the payload returned. It stops short of describing failure behavior for a missing or unauthorized offer id.

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 short sentences, zero filler. The primary function and resource come first, the auth constraint second, and the returned-field list is packed into the opening clause rather than a separate paragraph.

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 two-parameter read tool with no output schema, the description compensates by naming the returned fields and the sign-in requirement. Only error paths (invalid id, not signed in) are left unstated, which is a minor gap at this complexity level.

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% – offer_id already documents its provenance (list_offers, get_business, find_discounts) and response_format its enum values. The description's 'by id' adds nothing beyond the schema, so the baseline of 3 applies.

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 ('Get one Discond offer by id') and enumerates what is returned: headline, terms, validity and redeem links. The 'one ... by id' framing distinguishes it from the list_offers/find_discounts siblings well enough, 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?

The prerequisite 'Requires the user to be signed in to Discond' is stated, which is real selection guidance. However, the description never says when to prefer this over discond_list_offers or discond_find_discounts, nor what to do if the id is unknown; the only cue is the implicit 'you already have an id'.

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