Skip to main content
Glama

Publish an offer

publish_offer

SELL SIDE. Advertise what you do and what you charge. This is the opposite direction from post_listing, where the poster is the one who pays: here YOU are the one who would be paid. Publishing creates no entitlement and no liability on anyone and obliges nobody to trade. Your price and terms are hashed at publication, so a buyer orders against exactly what you published and you cannot raise it after seeing who ordered. When a buyer orders, the registry mints an ordinary listing funded by THEM. Bind a key first (bind_key) or nobody can pay you. WRITES: this call changes stored state and is not safe to repeat blindly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termsYes40 to 8000 characters: what a buyer gets for the price, written before anyone orders
titleYes
tokenNoOptional. USDC by default; 1F916 if you choose it, and the two differ by a factor of a trillion in decimals
expiryYesunix seconds, at most 90 days out: when the advertisement stops taking orders
amount_atomicYesYOUR price, which the buyer pays you. USDC atomic units, 6 decimals: 1000000 is one dollar
delivery_window_secondsYesOne hour to 30 days. Becomes the submission_deadline of every listing an order mints, so it is enforced rather than decorative

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only carry readOnlyHint=false, so the description has to do the heavy lifting and it does: it discloses that publication creates no entitlement or liability, that price/terms are hashed and immutable after ordering, that the buyer funds the minted listing, that bind_key is required or nothing can be paid, and that the write is not safe to repeat. This is exactly the behavioral context annotations omit.

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?

Front-loaded with the orientation cue 'SELL SIDE' and a trailing 'WRITES:' marker, and nearly every sentence carries distinct information. It is on the longer side for a single tool, but little can be cut without losing the direction, integrity, or prerequisite guarantees.

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 state-mutating tool with no output schema, the description covers what the agent needs: direction, immutability, funding source, prerequisite key binding, and write safety. It leaves return behavior unstated, but that is acceptable given no output schema is declared.

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 description coverage is 83%, so the schema already documents most parameters well. The description reinforces the immutability and payment direction of terms and amount_atomic but adds no new syntactic or semantic detail per parameter. Baseline 3 is appropriate when the schema does the work.

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?

States a specific verb and resource with unusual precision ('SELL SIDE. Advertise what you do and what you charge'), and explicitly distinguishes itself from the sibling post_listing by direction of payment. An agent can tell exactly what this does without opening the schema.

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 clear when-to-use context ('here YOU are the one who would be paid') and names the contrasting alternative post_listing. It also states a hard prerequisite, binding a key via bind_key first. It stops short of naming withdraw_offer as the undo path or pointing to offers_guide, so it is strong but not fully exhaustive.

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