Skip to main content
Glama

Veqen: AI cost monitoring and protection

Agent approvals

agent_approvals

action list (state pending, approved, denied or expired) or approve and deny (approval_id, with a note): a person's answer to an agent that asked to spend past its mandate. Confirm with the user before answering.

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

Input Schema

NameRequiredDescriptionDefault
noteNo
stateNopending
actionNolist
offsetNo
approval_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations mark it as non-read-only, non-destructive, non-idempotent, so the safety profile is partly covered; the description adds that approve/deny is effectively a human's answer to an over-mandate spend request and requires user confirmation first, which is genuine behavioral context. It stops short of saying whether an approve/deny decision can be reversed or re-submitted.

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?

One dense sentence that front-loads the two action modes before the flavour context and the confirmation rule; nothing is padded. The compressed, list-like syntax is efficient but slightly awkward to parse on first pass.

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?

Return values are covered by the existing output schema, and the description supplies the intent and the human-in-the-loop requirement for a 5-param, unlabeled schema. The only shortfall is the undocumented pagination parameter, which an agent needs for the list mode on large result sets.

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%, so the description has to carry all parameter meaning. It covers action, state (with all four enum values) and approval_id/note, but 'offset' — the 5th parameter, controlling paging — is never mentioned anywhere, leaving a real gap.

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?

Names both modes concretely — 'list' with the four state values, and 'approve'/'deny' keyed on approval_id plus a note — and the closing clause ('a person's answer to an agent that asked to spend past its mandate') gives real domain meaning. It is distinguishable from nearby siblings like agent_action or agent_spend_view, though the telegraphic grammar takes a second read.

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?

Tells the agent which action to pick for which intent (list vs approve/deny) and attaches a concrete operating constraint: 'Confirm with the user before answering.' No explicit exclusions or named alternatives among the many approval-adjacent siblings (approve_chargeback, approve_month, agent_action).

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