Skip to main content
Glama

Afterbook

Make a basket

make_basket

A 2-4 stock basket of Coinbase tokenized stocks on Base from a theme or sectors: the code picks the deepest steady pools that pass the checks and sizes them within your budget and cost limit, with every dropped stock and why. Returns buyUrl, a link where a person opens the basket on afterbook.app and signs its buy in their own wallet, after the checks run again and never for more than the basket 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_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoOne of Afterbook's fixed themes (default: Any).
cashPctNo
excludeNoGICS sectors to leave out.
budgetUsdYes
maxCostBpNo
minStocksNo
earningsDaysNo
maxPremiumBpNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses key behaviors: it picks pools that pass checks, sizes within budget, drops stocks with reasons, returns a buyUrl, and signs nothing ('reads only; signs nothing'). This is strong transparency, though it does not address auth needs, rate limits, or error handling.

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?

The description is dense but front-loaded, beginning with the core purpose and output. It uses three sentences efficiently, though the long middle sentence could be split for readability.

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

Completeness3/5

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

For a tool with 8 parameters and no output schema, the description covers the core operation and return value (buyUrl) but is incomplete on parameter semantics and lacks usage guidance. It provides enough to understand the tool's purpose but not enough to call it confidently with all options.

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

Parameters2/5

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

Schema description coverage is only 25%, so the description must compensate. It mentions budget, cost limit, and theme/sectors but provides no meaning for cashPct, minStocks, earningsDays, maxPremiumBp, or exclude beyond the schema's minimal descriptions. The description leaves most parameters semantically opaque.

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?

The description states a specific verb and resource: 'make a 2-4 stock basket of Coinbase tokenized stocks on Base from a theme or sectors.' It clearly explains what the tool does, but it does not explicitly differentiate itself from sibling tools like make_plan or get_quote.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives, nor are there any exclusions or prerequisites. The description explains the operation but leaves the agent to infer the appropriate context for selection.

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.