Skip to main content
Glama

AI Builder Marketplace: software pricing dossiers

check_offer_eligibility

Read-onlyIdempotent

Check whether an offer fits a buyer's situation: {customer: new|existing, plan, billing: monthly|annual|biennial}. Returns matches, does_not_match (with reasons) or needs_confirmation (missing information, an unconfirmed offer, or a pilot granted case by case), plus what the vendor did not state. A match is not a checkout guarantee.

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

Input Schema

NameRequiredDescriptionDefault
offer_idYesThe offer's id, from the id field of a search_offers result.
situationNoThe buyer's situation as {customer: 'new' or 'existing', plan: plan name, billing: 'monthly', 'annual' or 'biennial'}; missing fields are reported as needing confirmation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / offer_id / description
      Added value: +"The offer's id, from the id field of a search_offers result."
    • addedInput schema / properties / situation / description
      Added value: +"The buyer's situation as {customer: 'new' or 'existing', plan: plan name, billing: 'monthly', 'annual' or 'biennial'}; missing fields are reported as needing confirmation."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety bar is low — yet the description adds real value by naming the three outcome classes (matches, does_not_match with reasons, needs_confirmation) and their triggers, including pilot-granted case-by-case cases. The caution 'A match is not a checkout guarantee' and the note about reporting vendor omissions are exactly the kind of behavioral context annotations cannot carry.

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 tight sentences: the first front-loads the purpose and the input shape, the second covers outcomes and the key caveat. The brace notation is dense but readable; no filler sentences are present.

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 only two parameters, full schema coverage, and no output schema, the description carries the burden of explaining returns — and it does so by enumerating the three result states plus the omitted-vendor-information field. The only gap is workflow guidance relative to sibling tools, which is minor given the tool's narrow scope.

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%, so both parameters are already documented, including the situation shape and the 'missing fields are reported as needing confirmation' rule. The description restates the situation fields and their accepted values, which aids at-a-glance reading but adds no meaning beyond the schema; baseline 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 — check whether an offer fits a buyer's situation — and enumerates the situation dimensions (customer, plan, billing) it evaluates. It does not explicitly distinguish itself from siblings like check_choice or compare_offer_costs, so the agent must infer the boundary, but the purpose itself is unambiguous.

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 rather than stated: the offer_id parameter description points back to a search_offers result, sketching a search-then-check workflow. There is no explicit statement of when to prefer this over check_choice or compare_offer_costs, and no prerequisites or exclusions.

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