Skip to main content
Glama

Get Budget Remaining

paybond_get_budget_remaining
Read-only

Check remaining spend budget for a tenant-bound intent before authorizing a paid tool. Provides a read-only dry-run without spending or creating decisions.

Instructions

Use this when you need a read-only dry-run of remaining spend budget for a tenant-bound intent before authorizing a paid tool. Do not use this to authorize spend or create decisions; call paybond_authorize_agent_spend when you are ready to gate a side-effecting tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idNo
currencyNo
intent_idYes
operationNo
tool_nameNo
vendor_idNo
workflow_idNo
tool_call_idNo
agent_subjectNo
approval_tokenNo
requested_spend_centsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
spend_scopeNoSpend scope used for the budget evaluation (scope_type and scope_key).
policy_versionNoActive spend-control policy version when a policy is configured.
remaining_centsNoRemaining spend budget in cents for the evaluated scope, when available.
Behavior4/5

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

Annotations indicate readOnlyHint=true, which aligns with the description calling it a 'read-only dry-run'. The description adds context about its use in a workflow (before authorization) and implies no side effects. No contradictions.

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?

The description is concise (two sentences), front-loads the purpose, and includes essential usage guidance without extraneous details.

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?

Given the high parameter count (11) and zero schema descriptions, the description lacks completeness on parameter usage. However, the presence of an output schema covers return values, and the core use case is well-defined. The description is adequate but does not fully compensate for missing parameter details.

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?

The description does not explain any of the 11 parameters beyond the vague mention of 'tenant-bound intent'. With 0% schema description coverage, the agent must infer parameter meanings from names alone, missing guidance on optional parameters like currency, tool_name, etc.

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 clearly states the tool's purpose: a read-only dry-run to check remaining spend budget for a tenant-bound intent before authorizing a paid tool. It uses a specific verb ('get') and resource ('remaining spend budget'), and distinguishes itself from sibling tools by mentioning when not to use.

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?

The description explicitly states when to use it ('before authorizing a paid tool') and when not to use it ('do not use to authorize spend or create decisions'), directing the agent to the alternative tool paybond_authorize_agent_spend.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nonameuserd/paybond-kit-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server