Skip to main content
Glama

MatLogica Demo

demo_create_book

Create a bounded sandbox portfolio; this does not book a production trade.

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": {
      "book": "<book>",
      "idempotency_key": "<idempotency_key>",
      "guest_session": "<guest_session>"
    },
    "name": "demo_create_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookYes
guest_sessionYesWorkspace returned by demo_start_session in this conversation.
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the write-but-safe profile is known. The description usefully adds that nothing is booked in production, which is real behavioral context beyond the annotations. It stops short of saying whether the book is persisted, whether repeated calls with the same idempotency_key are deduplicated, or what is returned.

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?

A single front-loaded sentence with no filler and the most important scoping caveat attached immediately. It is efficient, though its brevity edges toward under-specification rather than true concision.

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

Completeness2/5

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

For a tool taking a deeply nested, const-constrained book object plus an idempotency key and a session token, and with no output schema, the description omits too much: the session prerequisite, idempotency behavior, and what a successful call yields. It covers only the sandbox framing.

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 33%: only guest_session carries an inline description, and idempotency_key has just a regex pattern. The description adds nothing about any of the three parameters, nor about the hard structural limits encoded in the schema (max 12 positions, fixed 180 contract days, three permitted instrument types), which an agent would otherwise have to reverse-engineer.

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?

"Create a bounded sandbox portfolio" gives a specific verb and resource, and the clause "does not book a production trade" scopes it against real booking. It does not distinguish itself from sibling write tools such as demo_create_market, so the agent must infer the boundary from the noun alone.

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?

The word "sandbox" implies a demo context, but there is no explicit when-to-use, no prerequisite such as needing a session from demo_start_session, and no mention of alternatives like demo_create_market or demo_edit_position. The agent gets no routing guidance.

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