Skip to main content
Glama

Spending rules

pix_spending_rules

Read the owner's Pix spending limits, approval rules, and trusted keys so agents can follow the configured policy; read-only, with no changes allowed.

Instructions

Read the owner's spending rules (limits, approval rules, trusted keys). Read-only: you cannot change them.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does useful work by declaring read-only semantics ('you cannot change them') and scoping to the owner's own rules, but it says nothing about authentication expectations, rate limits, or the shape/order of the returned data.

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?

Two short sentences, zero filler, with the resource and the mutation constraint front-loaded. Every clause carries information the agent needs.

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 zero-argument read tool, the definition covers identity (owner's rules), content categories, and safety (read-only). The main remaining gap is return format, which partly matters because no output schema exists, though the enumeration of limits/approval rules/trusted keys hints at the shape.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description adds no misleading claims about inputs, correctly implying the call is argument-free.

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?

Names a specific verb ('Read') and a specific resource ('the owner's spending rules'), then enumerates the contents (limits, approval rules, trusted keys). This is unmistakably distinct from the sibling tools (balance, charges, activity, send, payment status), which all operate on money movement rather than rule configuration.

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 implied rather than stated: an agent can infer this is the tool for inspecting configured rules, and 'you cannot change them' implicitly rules out attempts at mutation. However, there is no explicit statement of when to reach for this versus another tool, and no named alternative for rule-related tasks.

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