Skip to main content
Glama

check_expense_policy

Checks logged expenses against a selected policy pack, blocks reimbursement for holds, and flags warnings that require manager approval.

Instructions

Check logged expenses against a policy pack (general, medical-devices, financial-services, or the company's own). Holds are held back from reimbursement; warnings need a manager's OK.

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

Input Schema

NameRequiredDescriptionDefault
packNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the outcome taxonomy — holds blocked from reimbursement, warnings requiring manager approval — which is genuinely useful behavioral context. But it never says whether the check is purely read-only or whether it actually places holds on expenses, nor what permissions or side effects are involved; the ambiguous 'Holds are held back' phrasing leaves the mutation question open.

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 sentences, front-loaded with the core action and pack variants, then the outcome semantics. Dense and without filler; the second clause is slightly compressed to the point of ambiguity but every sentence earns its place.

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?

With a single optional parameter and no output schema, the description should explain what the check returns, and it only partially does — the hold/warning categories are covered but not the shape of results (per-expense findings, reasons, counts). The read-vs-write question is also unresolved, leaving a meaningful gap for a no-annotation tool.

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?

Schema coverage is 0% and the single 'pack' parameter has no enum in the schema, so the description's enumeration of general, medical-devices, financial-services, and the company's own pack is a substantive addition beyond structured data. It does not explain what the empty default value selects, which is the one remaining gap.

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 verb and resource — 'Check logged expenses against a policy pack' — and names the four pack variants, which is concrete enough to distinguish it from the expense CRUD siblings. It stops short of explicitly contrasting itself with tools like log_expense or expense_report, but the purpose is unmistakable.

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 statement of when to call this versus the many sibling tools, no prerequisite (e.g., must expenses be logged first?), and no exclusion. The only usage signal is implicit in the phrase 'check logged expenses', leaving the agent to infer the workflow position.

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