Skip to main content
Glama

authorize_portfolio_feed

Get a one-time wss:// URL to stream portfolio updates for chosen types (order, gtt_order, position, holding), enabling live subscription to account changes without relying on cached feeds.

Instructions

Get a one-time wss:// URL for the portfolio stream feed. update_types: comma list of order,gtt_order,position,holding. Not cached.

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": "authorize_portfolio_feed"
  }
}

Input Schema

NameRequiredDescriptionDefault
update_typesNoe.g. order,position

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful traits: the returned URL is single-use and it is not cached. It omits how long the URL stays valid, what happens if the connection drops, and whether the call itself requires an authenticated session.

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?

Three short sentences, zero filler, with the core action front-loaded and the parameter format immediately after it. Nothing could be cut without losing information.

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?

For a one-parameter tool with no output schema, the description covers the return value (a wss:// URL), the parameter format, and the caching/one-time behavior. The remaining gap is lifecycle detail — URL lifetime and re-request semantics — which matters for a streaming authorization handshake.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description meaningfully extends it by naming the full accepted value set (order, gtt_order, position, holding) and the comma-list format, whereas the schema only shows 'e.g. order,position.' That is real added meaning beyond the 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?

States a specific verb and resource: 'Get a one-time wss:// URL for the portfolio stream feed.' That is distinctly narrower than the sibling authorize_market_feed, and the resource name makes the scope obvious without consulting a schema. It stops short of naming the alternative feed tool explicitly.

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?

'One-time' and 'Not cached' imply this must be called immediately before opening a connection and re-called on reconnect, but neither is spelled out. There is no stated when-to-use rule versus authorize_market_feed or any lifecycle guidance (expiry, reuse limits).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.