Skip to main content
Glama

One book

get_resolved_batch
Read-only

Get one graded book with every forecast and its outcome. A book (or batch) is one trading day's full S&P 500 slate, served once its long picks are fully graded, so other rows can still have null outcomes. Use list_resolved_batches to find the date, verify_batch for the book's proof and get_book_portfolio for its portfolio. An ungraded or unknown date is an error.

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": {
      "trading_date": "<trading_date>"
    },
    "name": "get_resolved_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
trading_dateYesThe book's trading date, as YYYY-MM-DD. list_resolved_batches gives the graded dates.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / trading_date / description
      Added value: +"The book's trading date, as YYYY-MM-DD. list_resolved_batches gives the graded dates."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: the book is only served once long picks are graded, so other rows may carry null outcomes, and ungraded/unknown dates raise an error. Only the return shape is left implicit, which the output schema handles.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, each with a distinct job: what it returns, what a book is with its gating rule, where to go for adjacent needs, and the failure condition. Front-loaded with the primary action and free of filler.

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 one-parameter read tool with full annotations and an output schema, the description covers purpose, the domain concept, sibling routing, partial-null semantics, and error conditions. Nothing needed to call it correctly is missing.

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 100% and the single parameter already documents the YYYY-MM-DD format. The description only adds a pointer that list_resolved_batches supplies valid graded dates, so it is a modest supplement to the schema rather than new semantic depth.

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?

The opening sentence gives a specific verb and resource ("Get one graded book with every forecast and its outcome") and immediately defines the domain term "book/batch" as one trading day's full S&P 500 slate. This is sufficient to distinguish it from list_resolved_batches, verify_batch, and get_book_portfolio, which are named by role.

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?

Explicit routing guidance: use list_resolved_batches to find the date, verify_batch for proof, get_book_portfolio for the portfolio. It also states a negative condition ("An ungraded or unknown date is an error"), which tells the agent when not to call or what will fail.

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.