Skip to main content
Glama

credit_top_up

Read-onlyIdempotent

Show the person a card for adding GraphSheets credit: what the account has free, amounts to choose from, and a button that opens GraphSheets to pay under their own sign-in. Call it when a tool is refused for credit (payment_required) or the account is read-only for want of it, passing the refusal's details.needed when it has one. Payment happens only in GraphSheets — never ask for card details. Then wait: the person presses Carry on on the card, or tells you, once credit has landed, and you retry what was refused.

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

Input Schema

NameRequiredDescriptionDefault
neededNoWhat the refused work needed, in micros (a refusal's details.needed), so the card starts on an amount that covers it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare a safe read-only, idempotent, closed-world tool, and the description adds real behavior beyond that: payment only occurs inside GraphSheets, the agent must never ask for card details, and control returns to the person before retry. That is meaningful operator guidance with no contradiction of readOnlyHint.

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 purpose, then trigger, then constraints and follow-up, which is the right order. It runs slightly long and repeats the details.needed provenance already in the schema, but every sentence carries actionable content.

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?

For a one-parameter, no-output-schema presentation tool this is complete: it covers what is shown, when to call, what to pass, the payment boundary, and the post-payment retry loop. Nothing an agent needs to invoke it correctly 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 parameter is already documented in the schema, including that the value is in micros and comes from a refusal's details.needed. The description restates that provenance and the optional nature ('when it has one') but adds no new format or semantics, so the baseline 3 applies.

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?

The description states a concrete verb and resource: show a card for adding GraphSheets credit, listing what the card contains (free allowance, amounts, a pay button). No sibling tool does anything comparable, so an agent can identify this as the payment-escalation surface without opening the 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?

Explicit trigger conditions are given: call it when a tool is refused for credit (payment_required) or the account is read-only for lack of credit. It also names what to pass (the refusal's details.needed) and what happens next: wait for the person to press Carry on or tell you credit landed, then retry the refused call.

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