Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Show holdings

show_holdings
Read-onlyIdempotent

Answers "What do I hold?" and "Which positions are winning?" with a holdings table per account (value, unrealized P&L in dollars and percent, weight) and an allocation donut when the total is complete. Fetches the holdings itself; use this first for a general holdings or allocation question across connected accounts, without prefetching get_broker_positions or get_broker_account_snapshot. Paper and live accounts remain separate. Sort by value or pnl. Read-only. Shows an interactive panel in apps that support MCP Apps; always returns a text summary and a botspot.trade link.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "show_holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
sortByNo
brokerCredentialIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / brokerCredentialId / anyOf
      Added value: +[
      +  {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / brokerCredentialId / format
      Removed value: -"uuid"
    • removedInput schema / properties / brokerCredentialId / type
      Removed value: -"string"
    • addedInput schema / properties / mode / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "live",
      +      "paper",
      +      "all"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / mode / default
      Removed value: -"all"
    • removedInput schema / properties / mode / enum
      Removed value: -[
      -  "live",
      -  "paper",
      -  "all"
      -]
    • removedInput schema / properties / mode / type
      Removed value: -"string"
    • addedInput schema / properties / sortBy / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "value",
      +      "pnl"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / sortBy / default
      Removed value: -"value"
    • removedInput schema / properties / sortBy / enum
      Removed value: -[
      -  "value",
      -  "pnl"
      -]
    • removedInput schema / properties / sortBy / type
      Removed value: -"string"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description adds value beyond that by disclosing output behavior (interactive MCP Apps panel, always a text summary and a botspot.trade link), self-fetching behavior, and the paper-vs-live separation. These are non-obvious traits an agent could not infer from annotations or schema.

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?

The lead sentence front-loads what the tool answers and returns; the routing rule, scoping constraints, and optional parameters follow in short declarative sentences. No filler or restatement of the tool name.

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?

There is no output schema, so the description's coverage of return values (table columns, donut, text summary, link) is necessary and supplied. For a 3-param, zero-required read tool, everything an agent needs to pick and call it correctly is present.

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 0%, so the description must carry all parameter meaning. It explains sortBy ("Sort by value or pnl") and implies mode via "Paper and live accounts remain separate," but never names the mode enum values (live/paper/all) and says nothing about brokerCredentialId, leaving one parameter fully undocumented.

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?

States a specific verb+resource and the questions it answers ("What do I hold?", "Which positions are winning?"), plus the exact output shape (holdings table with value, P&L dollars/percent, weight; allocation donut). It explicitly names the siblings it is not (get_broker_positions, get_broker_account_snapshot), so an agent can differentiate without opening schemas.

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?

Gives an explicit routing rule: "use this first for a general holdings or allocation question across connected accounts, without prefetching get_broker_positions or get_broker_account_snapshot." It also states the paper/live separation constraint, which is a scope condition an agent must respect.

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.