Skip to main content
Glama

Great Work Labs

Wait for credit

wait_for_credit
Read-onlyIdempotent

After showing the user a setup_url: waits (up to 2 minutes) until the account has credit, then returns the balance. Retry your call after it returns ready: true.

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

Input Schema

NameRequiredDescriptionDefault
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds the important extra trait that this call blocks for up to 2 minutes and signals completion via ready: true. It does not say what happens if the timeout elapses (e.g., whether ready is false or an error is raised), which is the main behavioral unknown for a blocking wait tool.

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?

Two short sentences, with the precondition and the 2-minute bound front-loaded before the retry instruction. Every clause carries information; only the slightly contorted 'After showing the user a setup_url:' opener costs a point.

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?

With no output schema, the description does the work of describing returns (balance plus ready: true) and the blocking duration. The only material gap for a wait tool is the timeout outcome, which is left unspecified.

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 description coverage is 0% for the single timeout_seconds parameter, so the description must carry the meaning. It partially compensates by stating the 2-minute ceiling, which matches the schema maximum of 120, but it never names the parameter, gives its default, or explains the 5-second minimum.

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?

States a specific verb ('waits') and resource ('credit' / account balance) plus a concrete time bound of 2 minutes and the condition that ends the wait. It is distinguishable from siblings like 'account' or 'estimate_cost', though it never names a sibling to contrast with.

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 a clear trigger ('After showing the user a setup_url') and a clear follow-up rule ('Retry your call after it returns ready: true'), which tells the agent both when to call it and what to do with the result. It stops short of stating when not to use it or what to do on timeout.

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