Skip to main content
Glama

Get plan analysis

get_plan_analysis
Read-only

Get cached Plan Analysis: scored plan overview (pillars/ratios on the plan itself; does not read linked charges). Freshness status missing|current|outdated. Not for single-box amounts, balances, or expense lookups — use list tools. Always call before run_plan_analysis. If current, summarize and do not run. If missing/outdated, call run_plan_analysis only when the user wants that full plan overview or explicitly asks to refresh (not vague summary/health check).

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": {
      "budgetId": "<budgetId>"
    },
    "name": "get_plan_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: that the value is cached, the freshness state space (missing|current|outdated), and that it does not read linked charges. A 3 rather than higher because the freshness contract is stated but not fully explained — it doesn't say what the caller receives when status is 'missing' versus how stale 'outdated' can be, nor whether cached results can be partially populated.

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?

Exceptionally dense: the return scope, the freshness semantics, the exclusions, and the run-order decision tree all land in four sentences with the most decision-relevant content up front ('Always call before run_plan_analysis'). Nothing is decorative; even the parentheticals carry routing information.

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, and the description compensates by describing the return payload (scored plan overview of pillars/ratios) plus the freshness status values. For a one-parameter read tool with full annotation coverage, an agent has everything needed to call it and to decide whether to call the run sibling.

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 0% and the single budgetId parameter is undocumented in both schema and description — no format, source, or default is given. The name is largely self-explanatory in a budgeting API, so the gap is modest rather than fatal, but the description adds no meaning beyond the schema.

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 and resource (get cached Plan Analysis) and immediately scopes what it returns: 'scored plan overview (pillars/ratios on the plan itself; does not read linked charges).' The parenthetical explicitly distinguishes it from the transaction/charge-analysis sibling, so an agent can tell them apart without opening either schema.

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 explicit sequencing ('Always call before run_plan_analysis'), a branch on the result ('If current, summarize and do not run'), and a narrowing condition for the alternative ('call run_plan_analysis only when the user wants that full plan overview or explicitly asks to refresh (not vague summary/health check)'). It also names out-of-scope uses ('Not for single-box amounts, balances, or expense lookups — use list tools'), which is exactly the when-not guidance this dimension rewards.

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