Skip to main content
Glama

Vault rules

agentguard_policy
Read-only

Reads the vault's enforced spending rules: per-payment cap, 24h limit, approval threshold, allowlist, shared scam registry, and lock status.

Instructions

The vault's spending rules: per-payment cap, 24h limit, approval threshold, allowlist, shared registry, and whether the rules are locked. 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_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior4/5

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

With no output schema, listing the specific fields the tool returns (cap, 24h limit, approval threshold, allowlist, registry, locked flag) is genuinely valuable behavioral disclosure about the response. 'Read-only' merely restates readOnlyHint=true and earns no credit. It stops short of explaining edge behaviors such as what 'locked' implies or what units the caps use.

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 compact sentence with the resource front-loaded and zero filler. The trailing 'Read-only' is redundant with the annotation and the missing leading verb make it slightly less scannable than it could be.

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?

For a zero-param getter with no output schema, the field enumeration covers most of what an agent needs. However, it does not convey the shape or semantics of the returned values (currency/units for caps, what locked means for subsequent actions), leaving gaps that the missing output schema cannot fill.

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

Parameters4/5

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

Zero parameters, so there is nothing for the description to disambiguate; the schema is an empty object and no param semantics are needed. Baseline 4 applies, with no compensating detail required.

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?

The description names a specific resource (the vault's spending rules) and enumerates the exact contents returned: per-payment cap, 24h limit, approval threshold, allowlist, shared registry, and lock status. That clearly separates it from siblings like agentguard_balance or agentguard_history, which return different data. It loses a point only because there is no explicit verb ('get'/'read') — the sentence is a noun phrase.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no named alternative. The description never says the obvious thing an agent needs, e.g. 'call this before agentguard_pay to check whether a payment will be permitted.' 'Read-only' describes safety, not usage context.

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