Skip to main content
Glama
MCP Policy Gateway

MCP Policy Gateway

by gapview01

propose_spend

Propose a simulated spend against a fictional account; amounts under A$500 auto-approve while larger amounts require approval, with decide and execute actions for pending proposals.

Instructions

Propose a spend against a fictional account. The gateway simulates first, auto-approves below A$500, and holds larger amounts for approval. Use action=propose, decide, or execute.

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

Input Schema

NameRequiredDescriptionDefault
memoNo
actionNo
amountNo
approveNo
accountIdNo
proposalIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: simulation-first execution, an explicit A$500 auto-approval threshold, and holding above that amount for approval, plus the fictional-account safety context. It does not explain side effects of 'execute' (irreversible?), required permissions, or idempotency, leaving meaningful gaps for a write-oriented tool.

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?

Three short sentences, front-loaded with purpose then the key behavioral rules. No wasted wording, though the final sentence merely restates the action enum without adding guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, multi-mode, zero-annotation tool with no output schema, the description is thin: it doesn't map parameters to actions, explain what 'decide' does, or say what the tool returns after propose/execute. The threshold behavior is valuable but insufficient for correct invocation across all three modes.

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

Parameters2/5

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

Schema coverage is 0% across 6 parameters. The description only illuminates 'action' (enum values) and implies 'amount' via the A$500 threshold; memo, approve, accountId, and proposalId are entirely undocumented, including which are required for which action. That leaves most of the surface unexplained.

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 verb and resource ('propose a spend against a fictional account') and adds that the gateway simulates and enforces a A$500 threshold. The mention of three actions ('propose, decide, or execute') shows the tool is multi-modal, which usefully distinguishes it from the CRUD-style siblings, though it slightly muddies the 'propose' name.

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?

It lists the three action values and implies the flow (simulate first, auto-approve below A$500, hold larger amounts), which hints at when an approval path is needed. However, it never explains which action to pick for a given situation — when to use 'decide' versus 'execute', or what happens on a held proposal. No guidance on alternatives among siblings.

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