Skip to main content
Glama

Create a signed purchase offer

get_offer
Read-onlyIdempotent

Create or refresh a one-hour signed bearer offer for a chosen skill, bundle, audit, or fix. Do not call this after a paid search_fixes result or an unpaid get_fix/get_skill result because those responses already include both payment rails. Choose USDC for Base Pay or ETH for exact wei; with no product arguments, this returns the general settlement document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNoSettlement rail. Defaults to ETH for backward compatibility.
productIdNoExact fix, skill, bundle, or audit product id.
productTypeNoCatalog shelf that owns the product id; bundles use skill.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ruleNo
specNoOffer or settlement-document specification.
errorNoMachine-readable product, currency, or checkout failure.
offerNo
payToNo
tokenNoPrivate signed bearer purchase credential; never publish it.
detailNoHuman-readable failure detail.
backendNo
basePayNo
catalogNo
chainIdNo
networkNo
currencyNo
decimalsNo
priceEthNo
priceUsdNo
priceWeiNo
servedByNo
expiresAtNo
productIdNo
amountUsdcNo
paymentUriNo
redemptionNo
settlementNo
productTypeNo
basePriceWeiNo
usdcContractNo
tokenHandlingNo
amountUsdcAtomicNo
baseAmountUsdcAtomicNo

TDQS

A4.7/5.0
Behavior4/5

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

The description goes beyond the readOnly/idempotent annotations by disclosing the one-hour validity, bearer nature, and that no-arg calls return the general settlement document. The verb 'create' is slightly ambiguous with readOnlyHint, but the 'returns' language frames it as generating an ephemeral signed document rather than a persisted resource.

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?

Three sentences, no filler. The central behavior and expiry are front-loaded, the exclusion rule follows, and currency/no-arg behavior closes with practical detail.

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

Completeness5/5

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

With an output schema present and annotations already covering safety/idempotence, the description supplies the key decision-relevant context: when not to call, what no-args does, and what currency means. Nothing essential for correct invocation is left unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already describes the parameters. The description adds practical meaning: 'USDC for Base Pay or ETH for exact wei', the no-product argument variant, and confirmation of which product types map to which catalog shelves.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action ('Create or refresh') and a concrete resource ('one-hour signed bearer offer'), and scopes it to skill, bundle, audit, or fix. This makes it easy to tell apart from sibling tools such as get_fix/get_skill, which return catalog content rather than payment instruments.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It explicitly states when not to call the tool ('Do not call this after a paid search_fixes result or an unpaid get_fix/get_skill result') and why (those responses already include payment rails). It also gives selection guidance for currency and defines the no-argument fallback.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Most tools target clearly distinct resources or actions, and cross-references like 'use get_fix instead' sharply reduce confusion. A minor source of ambiguity is the cluster of redemption/offer tools (get_fix, get_skill, get_offer) and the three status-check tools, but their descriptions disambiguate them well.

Naming Consistency5/5

All tools follow a consistent lowercase snake_case verb_noun pattern: audit_, check_, get_, list_, order_, request_, search_, submit_. The naming style is uniform and predictable across different domains.

Tool Count4/5

At 17 tools, the surface is slightly above the ideal 3-15 range but remains justified given the server's broad scope: catalog browsing, paid redemption, audits, services, requests, submissions, and checkout support. It is dense but not bloated.

Completeness4/5

The lifecycle coverage is strong: discover, get, request, submit, check status, order, pay, and redeem are all represented. Minor gaps exist, such as no cancellation/refund path, no way to update a submitted fix, and merch ordering delegated entirely to an external storefront.