Skip to main content
Glama

accept_offer

Idempotent

Accept the offer on behalf of the buyer. This locks the billing identity, the offer version and the hash of the terms as they stand at this moment. A later change to the website cannot pass for what was agreed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderYes
secretNoYour secret, if not sent in the Authorization header.
billingYestype (person or company), fullName or company with eik, email, country, city, address, phone.
clientIdNoYour client identifier, if not sent in the Authorization header.
termsHashYes
accessTokenYes
offerVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: it explains that the action locks the billing identity, offer version, and terms hash at a point in time and prevents later changes from being accepted. This is useful for understanding irreversible side effects that annotations alone do not convey.

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 tight sentences that state the action first and then explain important locking semantics without any filler. Every sentence adds value, and the structure front-loads the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 7 parameters, 5 required, a nested billing object, and no output schema, the description is too thin. It does not explain what happens on success, what the response contains, how order relates to the offer, or the role of accessToken/clientId, leaving significant gaps for an agent to invoke it correctly.

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?

The description implicitly maps billing to 'billing identity', offerVersion to 'offer version', and termsHash to 'hash of the terms', adding meaning to a few parameters. However, with schema description coverage at only 43%, it does not compensate for undocumented parameters like order or accessToken, and leaves their roles unclear.

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?

The description clearly states the action ('Accept the offer on behalf of the buyer') and adds specific detail about locking the billing identity, offer version, and terms hash. It does not explicitly differentiate from siblings like create_order or start_payment, but the core purpose 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 Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as create_order or start_payment, nor any prerequisites or exclusions. The usage context is only implied by the tool's name and 'on behalf of the buyer', which is not sufficient for correct selection.

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