Skip to main content
Glama

Reject the bill

purch_reject_bill
Destructive

Record that a bill will not be paid as it stands: wrong, disputed, a duplicate, not theirs. With a reason. Rejecting is a decision about a vendor relationship: do it when the person says so, with their reason. The bill stays on the record. Effects: bill rejected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bill_id": "<bill_id>",
      "reason": "<reason>"
    },
    "name": "purch_reject_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy it will not be paid as it stands.
bill_idYesThe bill, e.g. B-0001.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag readOnly=false, destructive=true, and non-idempotent, so the safety profile is covered. The description adds the crucial behavioral fact that the bill remains on the record (no deletion), plus the operational constraint that the reason must come from the person; it does not say whether a rejection can be reversed or what happens to pending matches or payment holds.

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?

Short, front-loaded, and the strongest constraint (bill stays on the record) comes before the effects line. The standalone fragment 'With a reason.' duplicates the later 'with their reason' and the 'Effects: bill rejected' line mostly restates the tool name, so a little trimming is possible.

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 two-parameter mutation with no output schema, the description covers intent, required input semantics, and the key post-condition (record persists). The main remaining gap is reversibility — whether a rejected bill can be restored or re-approved — which an agent would want before acting on a destructive, non-idempotent call.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented and the baseline is 3. The description adds modest extra meaning by enumerating acceptable reason categories (wrong, disputed, duplicate, not theirs) and implying the reason should reflect the person's own words, but does not specify length, format, or whether an internal vs. vendor-facing reason is expected.

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?

Uses a specific verb (reject) on a specific resource (bill) and defines the state precisely: 'will not be paid as it stands', with concrete failure modes (wrong, disputed, duplicate, not theirs). It distinguishes rejecting from deleting by noting the bill stays on the record, though it never names the adjacent sibling purch_approve_bill as the counterpart action.

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?

Gives a real when-to-use condition: only when the person explicitly says to reject, and only with their stated reason, which frames this as a relationship decision rather than an autonomous cleanup action. It stops short of naming alternatives such as approving, voiding, or disputing with the vendor.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.