Skip to main content
Glama

get_upgrade_request

Read-onlyIdempotent

Poll an upgrade request by ID to track its status—pending, completed, declined, canceled, or expired—and determine when to retry the blocked call.

Instructions

Poll an upgrade request by ID. status is pending, completed, declined, canceled, or expired. Poll at most once a minute; after completed, retry the blocked call about 15 seconds later. Requires an Organization key (chr_sk_*).

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": {
      "id": "<id>"
    },
    "name": "get_upgrade_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUpgrade request ID (upr_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.2

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses a rate limit (once a minute), the retry pattern after completion, and the required Organization key (chr_sk_*). It also enumerates the terminal and non-terminal status values the caller should expect, which is behavior the annotations cannot convey.

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 short sentences, front-loaded with the action, then state values, then cadence/auth constraints. No filler and every sentence carries operational 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 fills that gap by explaining the status values that constitute the meaningful return data. Auth requirements and polling cadence are also covered, leaving little an agent needs that is absent.

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?

The sole parameter is fully documented in the schema, including the upr_ prefix. The description only adds "by ID," which the schema already covers, so it neither compensates for nor detracts from the 100% coverage baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: "Poll an upgrade request by ID." The verb "poll" implicitly distinguishes it from the mutation siblings cancel_upgrade_request and request_upgrade, but it never names or contrasts them explicitly.

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?

It gives concrete operational guidance: poll at most once a minute, and retry the blocked call about 15 seconds after completion. That is real when/how guidance for the async workflow, though it does not explicitly state when to prefer this tool over other upgrade-related siblings.

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