Skip to main content
Glama

Afterbook

Make a trade plan

make_plan

A checked trade plan for Coinbase tokenized stocks on Base: for each stock a buy, wait or skip verdict with reasons (gap to the real stock, stale pool, earnings, depth) and a size within your cost limit, $25k and 10% of the pool. Returns planUrl, a link where a person opens the plan on afterbook.app and signs each buy in their own wallet, after the checks run again and never for more than the plan shows. Reads only; signs nothing.

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": {
      "budgetUsd": "<budgetUsd>"
    },
    "name": "make_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolsNoStocks to check; none = the deepest pools.
budgetUsdYes
maxCostBpNoMost a fill may cost, price impact plus pool fee, in bp (default 30).
earningsDaysNoWait if earnings are within this many days: 0, 2 or 7 (default 2).
maxPremiumBpNoMost the token may trade above the cash price, in bp (default 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the safety burden well: 'Reads only; signs nothing' plus re-running checks at signing time and a hard cap that the fill never exceeds what the plan showed. It discloses the sizing constraint ($25k and 10% of pool) and the verdict reasons checked (gap to real stock, stale pool, earnings, depth). Missing: failure modes when a symbol has no pool, and latency or rate expectations.

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?

It is front-loaded with the verb and resource, then the verdict logic, then the return value and safety posture, in a single dense paragraph with little filler. The clause about checks re-running 'and never for more than the plan shows' is slightly redundant with 'Reads only; signs nothing' but still earns its place.

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 five-parameter, no-output-schema, no-annotation tool, this covers the essentials: what comes back (planUrl), what the human does with it, and the hard safety boundary. Parameter-level defaults and the budget-to-size relationship are left entirely to the schema, which is acceptable at 80% coverage.

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 coverage is 80%, so the baseline is 3, and the description adds only indirect meaning: the $25k and 10%-of-pool cap relates to budgetUsd, which is the one parameter lacking a schema description. The named checks (gap, stale pool, earnings, depth) hint at what maxPremiumBp and earningsDays govern but never map to them explicitly.

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?

It names a specific verb and resource: 'A checked trade plan for Coinbase tokenized stocks on Base', with per-stock buy/wait/skip verdicts and a sizing rule. The output artifact (planUrl) is called out. Sibling differentiation is only implicit: make_basket and get_quote are never named, though the 'plan then human signs' posture is distinctive.

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

Usage Guidelines3/5

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

The description implies when the tool is appropriate, namely when the agent needs a human-signable, pre-checked buy plan, but it never states when NOT to use it or names an alternative such as get_quote for a single token. The requirement for the user to open planUrl and sign in their own wallet is context, not a conditional trigger.

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.