Skip to main content
Glama

forecast_renewal

Read-onlyIdempotent

Predicts an account's renewal probability (0–1) with a risk category, explaining the positive and negative adjustments, blockers, and required actions to improve the outcome. Read-only forecast.

Instructions

Forecast this account's renewal probability as a 0-1 score with a category ('commit', 'likely', 'at_risk', 'critical'), the specific positive and negative adjustments behind that number, any blockers, and the required actions to improve it. Read-only; does not change the account or create a renewal case. Use request_commercial_concession separately if a discount or credit needs to be proposed.

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": {
      "account_id": "<account_id>"
    },
    "name": "forecast_renewal"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesThe account's canonical ID, e.g. 'ACC-1001'. Look one up with list_accounts or portfolio_triage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • addedInput schema / properties / account_id / description
      Added value: +"The account's canonical ID, e.g. 'ACC-1001'. Look one up with list_accounts or portfolio_triage."
  2. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false; the description reinforces this and adds the useful assurance that it does not create a renewal case. It also discloses the response contents (score, category, adjustments, blockers, actions) even though there is no output schema, which is real added value beyond the annotations.

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 outcome and its returned elements, then the read-only caveat and the sibling routing rule. The enumerated output list is long but each item conveys distinct information an agent needs, so little is wasted.

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 single-parameter, read-only forecast with no output schema, the description is complete: it describes what is returned, what is not mutated, and where discounts belong instead. Nothing critical to correct invocation is missing.

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 100% and the single account_id parameter is documented in the schema with an example format and lookup path, so the description carries no additional parameter burden. The phrase 'this account's' only confirms scoping, adding nothing the schema does not already provide — baseline 3.

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?

Names a specific verb and resource ('Forecast this account's renewal probability') and enumerates the exact outputs: a 0-1 score, a category from a fixed set, the adjustments, blockers and required actions. It also distinguishes itself from request_commercial_concession, so an agent can separate it from the sibling that handles discounts.

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?

Gives clear context for use (per-account renewal forecasting) and an explicit routing rule: use request_commercial_concession separately if a discount or credit is needed. It stops short of when-not-to-use guidance relative to adjacent tools like compute_health_score or detect_risk_signals, so it is clear but not exhaustive.

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