Skip to main content
Glama

Authorize prepaid work

authorize
Idempotent

Create an idempotent prepaid authorization for a quoted operation. This may reserve private account credits but does not execute provider work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
creditsNo
payloadNoOptional canonical InfraPulse payload; direct top-level fields are also accepted.
agent_idNo
quote_idNo
request_idYesStable idempotency key for this mutating operation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
dataNo
errorNo
intentNo
statusNo
receiptNo
successNo
request_idNo
next_actionNo
operation_idNo
requires_humanNo

TDQS

A4/5.0
Behavior4/5

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

Beyond the idempotentHint annotation, the description discloses that the tool 'may reserve private account credits' and explicitly states it does not execute provider work. This adds meaningful side-effect and non-execution context beyond the structured annotations.

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?

Two tight sentences with no filler. The core action and idempotency are front-loaded, and the critical clarification that provider work is not executed appears early.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is adequate for selecting the tool and understanding its side effects, and an output schema exists to define returns. However, given the low parameter coverage and the need to invoke correctly, the description leaves gaps around how credits, quote_id, agent_id, and payload relate to the authorization.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40% and the description does not explain the key parameters such as credits, quote_id, agent_id, or payload. The phrases 'prepaid' and 'quoted operation' hint at credits and quote_id, but the description does not compensate adequately for the low schema coverage on a 5-parameter tool.

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?

States a specific verb and resource ('Create an idempotent prepaid authorization') and clearly scopes the operation as being for a quoted operation. It also distinguishes itself from the execute sibling by explicitly noting that it 'does not execute provider work.'

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?

Provides clear context: this is for a quoted operation and reserves credits rather than executing work, which implies use after quote and before execute. It does not explicitly name alternatives or give when-not-to-use conditions, but the contrast with execution is strong enough for selection.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct phase or concern: discovery, quoting, authorization, execution, connection management, and receipt verification. There is no meaningful overlap between tool responsibilities.

Naming Consistency4/5

Most tool names are single imperative verbs (authorize, connect, discover, execute, quote), which is consistent and predictable. verify_receipt breaks the pattern slightly by using verb_noun, but the intent remains clear.

Tool Count5/5

Six tools is a well-scoped set for a workflow-oriented infrastructure API. Each tool maps to a clear stage in the operation lifecycle without redundancy.

Completeness4/5

The core lifecycle is well covered: discover, quote, authorize, execute, and verify_receipt. Minor gaps exist around canceling authorizations or revoking connections, but these are not critical to the primary execution workflow.

Resources