Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Show one position

show_position
Read-onlyIdempotent

Answers "How is my TSLA position doing?" and "How much TSLA exposure do I have?" for a stock symbol or an options underlying: value, unrealized P&L, shares and average cost, exposure in share-equivalents (option delta only when the broker reports it), and a payoff chart at expiration for option positions. 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

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": {
      "symbol": "<symbol>"
    },
    "name": "show_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes
brokerCredentialIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the 'Read-only' restatement earns little. What does add value is the disclosure of a nontrivial behavior: option delta is only included when the broker reports it, exposure is expressed in share-equivalents, and the result varies by host (interactive panel in MCP Apps, otherwise always a text summary plus a botspot.trade link).

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?

Front-loaded with the user questions the tool answers, then the returned fields, then behavioral caveats — a sensible information order with no filler sentences. It is dense but every clause carries content; the quoted user questions are slightly verbose but serve as a fast routing cue.

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?

With no output schema, the description does a good job of naming the returned fields and the two output surfaces. The remaining gap is the second parameter, which is undocumented in both schema and description, and there is no note on what happens for an unknown symbol or a missing broker credential.

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 parameter meaning. It clarifies that 'symbol' accepts an options underlying as well as a stock ticker, which is real added meaning. However, 'brokerCredentialId' is never mentioned, leaving the agent to guess whether it selects a specific connection or is optional.

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 description states a concrete verb and resource (show one position) and enumerates the exact payload: value, unrealized P&L, shares, average cost, share-equivalent exposure, and an expiration payoff chart for options. Combined with 'for a stock symbol or an options underlying,' an agent can tell this is the single-symbol view rather than the portfolio-wide views its siblings (show_holdings, show_account_overview) imply.

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

Usage Guidelines4/5

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

It anchors usage with two concrete user questions ('How is my TSLA position doing?' / 'How much TSLA exposure do I have?'), which makes the when-to-use condition clear without inference. It does not state exclusions or name an alternative to use when the agent wants all positions at once, so it stops short of full 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.