Skip to main content
Glama
Caravan MCP

Caravan MCP

by OJ-IRO

Update the Quartermaster spend policy

set_policy

Update spend-policy fields such as budgets, caps, approval thresholds, tier floors, and host allow/deny lists; only supplied fields change, and policy loosening requires explicit human approval.

Instructions

Update spend-policy fields (only the fields you pass change). Use when the human asks to change budgets, caps, approval thresholds, tier floors, or allow/deny lists. Never loosen the policy without the human explicitly asking.

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

Input Schema

NameRequiredDescriptionDefault
minTierNo
denyHostsNo
allowHostsNo
maxCallsPerDayNo
perCallMaxUsdcNo
dailyBudgetUsdcNo
allowUnknownMerchantsNo
requireApprovalAboveUsdcNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses patch semantics and a safety constraint on loosening the policy, but it says nothing about auth requirements, reversibility of changes, validation or error behavior, or what the call returns.

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 sentences, zero waste, with the patch-semantics constraint front-loaded ahead of usage and the safety caveat. Appropriately sized for the tool's complexity.

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 an 8-parameter mutation tool with no annotations and no output schema, the description covers purpose, trigger, and a safety rule, but leaves parameter detail and any indication of side effects or failure modes undocumented. It is adequate but has clear gaps.

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 description coverage is 0% across 8 parameters, so the description must compensate. It names field categories (budgets, caps, approval thresholds, tier floors, allow/deny lists), which maps loosely to several parameters, but it gives no units, ranges, formats, or meaning for the tier enum, and fields like allowUnknownMerchants go unaddressed.

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 gives a specific verb and resource plus patch semantics: 'Update spend-policy fields (only the fields you pass change)'. That is enough for an agent to tell it apart from the read-only get_policy sibling, though it never names that counterpart explicitly.

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?

It states the trigger condition clearly (human asks to change budgets, caps, approval thresholds, tier floors, allow/deny lists) and adds a strong guardrail: never loosen the policy without an explicit human request. It stops short of saying when not to use it, e.g., read the current policy first.

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