Skip to main content
Glama

Recent payments

agentguard_history
Read-only

Retrieves a vault’s recent payment requests, newest first, including blocked attempts, so agents can review spending activity without making changes.

Instructions

The vault's most recent payment requests, newest first, including blocked ones. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, and the description's 'Read-only' simply restates it. The value-add is real but small: the newest-first ordering and the fact that blocked requests are included. Nothing is said about result count behavior, truncation, or how far back history extends.

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 tight, front-loaded sentences with no filler. The trailing 'Read-only' is redundant with the annotation and could be dropped, but it costs almost nothing.

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?

For a simple read-only list tool with one optional parameter and no output schema, the description covers what the tool returns at a high level (recent payment requests, newest first, blocked included). It does not characterize the fields of a payment request record, which would help an agent decide whether this tool answers its question.

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 the single optional 'limit' parameter is documented in-schema with its default and 1-50 bounds. The description adds no meaning beyond the schema, which is the expected baseline for a one-parameter tool.

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 resource (the vault's payment requests) with scope (most recent), ordering (newest first), and an inclusion rule (blocked ones included). That is enough to distinguish it from agentguard_payment_status, though it never names a sibling to sharpen the boundary.

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?

Usage is only implied: 'most recent ... newest first' suggests a recency-review use case, but there is no explicit when-to-use, when-not-to-use, or pointer to agentguard_payment_status for single-payment lookups. The agent must infer the choice.

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