Skip to main content
Glama

Draft a trade post

draft_trade_post
Read-onlyIdempotent

Read-only: writes the TEXT of a trade list for the user to copy and post themselves (WhatsApp, Discord, anywhere). It posts nothing, sends nothing and publishes nothing (style: whatsapp | discord | text; default whatsapp): list "deck" (the deck's missing cards, linked by its wantlist link), "wantlist" (the personal wantlist's missing cards) or "tradelist" (what the user's published tradelists offer, linked by their handle). One line a card: count, name, the printing when the list pins one, a flag for a language other than English (one with no flag is written as its name), and on a tradelist each copy a deck of the user claims or plays shared named with that deck (lines[].breaks_decks): relay it. cards keeps only those names. Relay text as it is, in a code block or ready to copy. This tool NEVER publishes: when url is null no link is live yet — the note says which create_share_link call would publish it; ask the user before calling it, then call this again.

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": {
      "list": "<list>"
    },
    "name": "draft_trade_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckNoDeck id or name, for list "deck"
listYes
cardsNoOnly these card names (English); omit for the whole list
styleNo

Output Schema

NameRequiredDescriptionDefault
urlYesThe live link the message ends with; null: none is published, and the text has no link
noteYes
textYesThe message to post, ready to copy: relay it as it is
cardsYesCopies the message lists
linesYes
publishYesWith no live link: what create_share_link would publish to carry this post. Ask the user first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, but the description adds genuinely new behavior: nothing is sent or published, url null means no live link yet, and the agent should relay `text` verbatim in a code block. It also flags lines[].breaks_decks as content that must be relayed, which no annotation would reveal. Minor deduction because the exact response envelope beyond text/url/lines is left implicit.

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 read-only guarantee and tightly packed with actionable detail, but it is a single dense block with backtick-heavy clauses and some redundancy between "relay it" and "Relay `text` as it is." Slightly hard to parse, though nearly every sentence carries information.

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 read-only formatter with four parameters and an output schema, this covers what matters: the mode semantics, the default style, the filter, the relay instructions, and the publish hand-off. Nothing an agent needs to call it correctly or present its output is missing.

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

Parameters5/5

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

Schema coverage is only 50% — `list` and `style` have no schema descriptions — yet the prose defines all three list modes (deck = the deck's missing cards via its wantlist link, wantlist = personal wantlist gaps, tradelist = what published tradelists offer via handle) and both style values plus the whatsapp default. `cards` is clarified as a name-based filter ('keeps only those names').

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?

Opens with a specific verb and resource ("writes the TEXT of a trade list") and immediately bounds the scope: the user copies and posts it themselves. It distinguishes itself from publishing siblings by naming create_share_link as the tool that would actually publish.

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?

Explicitly states when this tool applies (drafting copyable text for WhatsApp/Discord/anywhere) and when it does not (it never publishes). It also gives the conditional follow-up: when url is null, the note names the create_share_link call, and the agent must ask the user before calling it, then re-call this tool.

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