Skip to main content
Glama

My plan and what is left

get_plan_usage
Read-onlyIdempotent

The signed-in user's InvestIQ plan and what is left in each allowance this period: analysis credits (spent by analyze_stock, deep_dive and compare_stocks), portfolio audits (spent by run_portfolio_audit), and the app-only allowances (Deep Research reports, agent credits for War Room and Sandbox, the in-app Copilot). Also lists what each connector action costs; every other tool is free. Read-only.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYesfalse on an error; then `error` says what happened and what to do.
cardNoThe in-chat InvestIQ card, in English and French.
dataNoThe tool's own result fields.
toolYes
as_ofYesISO time the data was computed (a stored analysis: when it was computed).
errorNo
linksNoInvestIQ pages for this result.
degradedNotrue when part of the data was missing.
viz_specNoThe recommended chart's series (data only).
disclaimerYes
data_qualityNoWhat was requested, what was used, and why anything was left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 closed-world, so the description's main additive value is scope and reset semantics: the data is tied to the signed-in user and to 'this period', and it explains which sibling tools draw down which allowance. The trailing 'Read-only' is redundant with readOnlyHint=true but does not conflict with it.

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 resource ('The signed-in user's InvestIQ plan and what is left in each allowance this period') before the parenthetical breakdown. The nested parentheses listing spenders inside allowance groups are dense but every clause carries real information; only the closing 'Read-only' fails to earn its place.

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 zero-parameter, read-only tool with an output schema and full annotations, the description supplies the missing context an agent cannot get from structured fields: period scoping and the credit-cost mapping to specific sibling tools. Only the absence of an explicit call trigger keeps it from being fully complete.

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?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline applies. The description correctly spends its words on scope and allowance definitions instead of inventing inputs.

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 resource and scope: the signed-in user's plan plus remaining allowances this period, then enumerates the exact allowances (analysis credits, portfolio audits, app-only allowances, connector action costs). An agent can tell immediately this is the billing/entitlement readout and not a portfolio or analysis tool.

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?

The cost attribution ('spent by analyze_stock, deep_dive and compare_stocks', 'spent by run_portfolio_audit') plus 'every other tool is free' gives an agent the full consumption model, which implicitly tells it when to check this tool. It stops short of an explicit directive such as 'call this before running expensive tools' or a when-not condition, so it is clear context rather than complete 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