Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Gloom. If you published it, claim ownership there.

Brokerage performance

portfolio.performance
Read-onlyIdempotent

Read-only: daily account value and return series from brokers that report history (Interactive Brokers today), kept by Gloom past the broker's own one-year window. oneYearReturn compounds the daily returns of the last year, or of the whole series when shorter.

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": "portfolio.performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoFirst date of points to return, YYYY-MM-DD.
brokerNoOne broker id, such as ibkr or robinhood. Omit for every broker.
accountIdNo

Output Schema

NameRequiredDescriptionDefault
asOfNo
dataYes
statusYes
rowCountNo
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "asOf": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "type": "object"
      +    },
      +    "rowCount": {
      +      "type": "integer"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), the description adds genuinely useful behavior: the data extends beyond the broker's one-year window, coverage is limited to history-reporting brokers (IBKR today), and oneYearReturn is a compounded figure over the last year or the whole series if shorter. It still doesn't say what happens when a broker is unsupported or how gaps in the series appear.

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?

Two tightly written sentences, front-loaded with 'Read-only:' as the leading constraint, then scope and coverage, then the derived-field note. No filler and nothing buried.

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

Completeness4/5

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

An output schema exists, so return values need not be spelled out, and the description still explains the one meaningful derived field. For a three-parameter read tool this covers purpose, coverage limits, and retention; only the undocumented accountId and empty-result behavior remain gaps.

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 coverage is 67% and accountId carries no schema description, yet the description says nothing about since, broker, or accountId formats or defaults. The oneYearReturn explanation describes an output field rather than adding meaning to the inputs, so it sits at the baseline for a partly-documented schema.

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 uses a specific verb and resource ('daily account value and return series from brokers') and pins down scope: only brokers that report history (Interactive Brokers today) and data retained past the broker's own one-year window. It never names a sibling such as portfolio.positions or portfolio.exposure to draw the boundary explicitly, which keeps it just short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer 'call this for historical daily performance', and the broker-coverage caveat signals when results may be empty. There is no explicit when-not guidance, no named alternative for getting positions or exposure instead, and no note on prerequisites such as a connected broker account.

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