Skip to main content
Glama

Place an ad order

place_ad_order

Place one ad order with a solved challenge (get_ad_challenge). Same checks, prices and limits as the web form at /advertise (at most 2 unpaid orders per service). Payment is in XMR only, to the returned address, exact amount, before hold_until; when automatic payments are off the order is a request handled by hand and no address is returned. Ads never change grades or order; only listed services graded A, B or C may advertise; the link always goes to the service's nokychub page. Keep the returned secret: it is the only key to the order. Send it at least 2 s after getting the challenge. With a creative, put params name before arguments: a request over 64 KB must name place_ad_order in its first 64 KB.

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": {
      "challenge_id": "<challenge_id>",
      "nonce": "<nonce>",
      "slot": "<slot>",
      "service": "<service>",
      "start_month": "<start_month>",
      "months": "<months>"
    },
    "name": "place_ad_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNobutton text (default «Open»)
lineNo
slotYesslot code from list_ad_slots, e.g. LB-HOME
nonceYesdecimal nonce with SHA-256(seed ":" nonce) having `bits` leading zero bits
scopeNoper_category slots: your own category (slug or id); per_guide slots: the guide's id or slug; global slots: omit
monthsYesnumber of months, 1..12 (3 months cost the quarter price)
contactNooptional, only for the owner about this order
serviceYesyour service's nokychub slug (it must be listed and graded A, B or C)
creativeNoPNG or JPG, base64, within the slot's max_kb (+40% for base64); no WebP, SVG or animation; omit on text-only slots
headlineNo
start_monthYesfirst booked month, YYYY-MM (this month up to 12 months ahead)
challenge_idYesid from get_ad_challenge

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well past the annotations: XMR-only payment to the returned address, exact amount before hold_until, manual handling with no address when automatic payments are off, and the secret being the sole key to the order. Annotations already flag non-readOnly/non-idempotent, and the description adds the operational and secrecy constraints on top.

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 action and dense with constraints, with essentially no filler; even policy notes like 'Ads never change grades or order' earn their place by preempting a wrong assumption. The single run-on paragraph makes it harder to scan than it could be with light separation.

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?

For a 12-parameter mutation with no output schema, the description still conveys what comes back (address, hold_until, secret), how payment is validated, the timing rule, and the quota limit. An agent has enough to invoke it correctly without opening any other document.

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 83%, so the baseline is 3, but the description adds real meaning: with a creative, parameter names must precede arguments, and a request over 64 KB must name place_ad_order in its first 64 KB. It also explains the scope/month/creative interplay only indirectly, leaving a little on the schema.

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 ('Place one ad order') and ties it to the prerequisite challenge tool from get_ad_challenge. It does not explicitly differentiate itself from the sibling quote_ad (a likely preview/pricing alternative), so sibling separation is only partial.

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 concrete preconditions: a solved challenge from get_ad_challenge, a wait of at least 2 s after the challenge, a service graded A/B/C, and the 2-unpaid-orders-per-service cap. It never says when to use quote_ad or get_ad_order instead, so there is context but no explicit alternative routing.

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