Skip to main content
Glama

Run plan analysis

run_plan_analysis

Budget-wide Gemini Plan Analysis (scored plan overview / pillars on the plan itself; does not read linked charges). Pro or Ultra only (Free: 1 review a day in the app). Consumes one daily review (Pro 2 / Ultra 4 per day, then Reviews packs). Not for scoped box/account/expense questions. Prefer get_plan_analysis first; only run when missing/outdated and the user wants that full plan overview or explicitly refreshes. Over quota → resource_exhausted.

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

Input Schema

NameRequiredDescriptionDefault
localeNo
budgetIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and non-destructive; the description adds the traits that actually matter for this call: tier gating (Pro/Ultra only, Free gets 1/day in-app), a concrete cost model (Pro 2 / Ultra 4 per day, then Reviews packs), and the failure mode ('Over quota → resource_exhausted'). That is exactly the behavioral context structured fields cannot express, and it is consistent with the mutation-ish readOnlyHint=false.

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 capability, then scope, then cost, then routing, then error mode — a sensible priority order with no filler sentences. The telegraphic parenthetical style ('scored plan overview / pillars on the plan itself') is dense but readable; a slightly plainer phrasing would cost nothing.

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?

No output schema exists, so the description must hint at results — it does, naming a scored plan overview and pillars. Quota, eligibility, error behavior, and alternatives are all covered; only the locale parameter and any sense of output shape/size remain undocumented, which are modest gaps for a 2-parameter tool.

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

Parameters2/5

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

Schema description coverage is 0% and neither parameter is explained. 'Budget-wide' weakly implies budgetId's role, but locale — the only optional parameter and the one most likely to be misused — is never mentioned in the description, so the agent gets no guidance on when or how to supply it.

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 — 'Budget-wide Gemini Plan Analysis' producing a scored plan overview with pillars — and immediately delimits scope with 'does not read linked charges'. The contrast with get_plan_analysis (read existing vs. run new) is legible from the description alone, so the agent can separate it from its closest sibling.

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 routing: 'Prefer get_plan_analysis first; only run when missing/outdated and the user wants that full plan overview or explicitly refreshes.' It also states when-not: 'Not for scoped box/account/expense questions.' Both the alternative and the selecting condition are named, leaving nothing to inference.

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