Skip to main content
Glama

portfolio_triage

Read-onlyIdempotent

Ranks accounts by urgency for daily review, combining health score, risk severity, ARR at stake and renewal proximity into one score so you know which customers need attention today.

Instructions

Rank the whole portfolio by what needs attention today, combining health score, top risk signal severity, ARR at stake and renewal proximity into a single urgency score. Read-only. Use this as the entry point for a daily review; use list_accounts instead when you need accounts filtered by a specific attribute rather than ranked by urgency.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of accounts to return, ranked highest urgency first. Defaults to 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of accounts to return, ranked highest urgency first. Defaults to 10."
  2. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so repeating 'Read-only' adds little, but the description contributes real behavioral context by disclosing the ranking model and its four weighted inputs. It stops short of noting cost, coverage limits, or whether every account is scored, which keeps it from a 5.

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 sentences, front-loaded with the action and scope, followed by the safety note and the routing rule. No filler, no restatement of the title, and nothing that could be moved to a lower-value position.

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 carries some burden for return shape; it says results are ranked by urgency but does not say what fields each ranked account carries. For a simple one-parameter read tool with full annotation coverage this is nearly complete, with only that minor gap.

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 limit parameter is already documented as 'ranked highest urgency first, defaults to 10'. The description adds only the confirmation that ordering is by urgency, which the schema already says. Baseline 3 applies since the schema does the work.

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?

Uses a specific verb ('Rank') on a specific resource ('the whole portfolio') and spells out the composite inputs (health score, risk signal severity, ARR at stake, renewal proximity) that produce the urgency score. It explicitly distinguishes itself from list_accounts, so an agent can route correctly 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 a positive trigger ('entry point for a daily review') and an explicit alternative with the selecting condition ('use list_accounts instead when you need accounts filtered by a specific attribute'). Both the when and the when-not are stated in one sentence.

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