Skip to main content
Glama

List Spend Approvals

ledger_approvals
Read-onlyIdempotent

List spend-approval permits — yours, or your whole workspace's.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNooptional filter: pending | approved | denied | consumed | expired
agent_idNolist this agent's permits (needs agent_secret or workspace_key)
agent_secretNothe agent's own secret (agent view)
workspace_keyNothe owning workspace's key — lists ALL its agents' permits when given alone

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the scoping constraint (personal vs workspace-wide results), which is helpful context, but says nothing about pagination, result limits, or auth failure behavior.

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?

A single short sentence, front-loaded with the verb and resource and with zero filler. Nothing redundant or padded.

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?

An output schema exists, so return values need not be described, and all four parameters (none required) are fully documented in the schema. The only mild gap is that the description does not hint at the no-argument default behavior or filtering by state, but the schema carries that adequately.

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 100% and every parameter (state, agent_id, agent_secret, workspace_key) is documented in the schema itself. The description's scope wording loosely parallels the agent_id/workspace_key distinction but adds no syntax, defaults, or format detail beyond what the schema provides, so baseline 3 applies.

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 ('List') and resource ('spend-approval permits') plus scope ('yours, or your whole workspace's'), so an agent can distinguish it from ledger_approval_decide or ledger_check_spend. It stops short of naming which sibling to use for a different need, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'yours, or your whole workspace's' implies the two access modes that map to agent_secret vs workspace_key, which is useful implied guidance. However, there is no explicit when-to-use, no exclusions, and no routing to alternatives such as ledger_check_spend when the agent wants a single permit's status rather than a list.

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.