Skip to main content
Glama

Set match tolerance

p2p_set_match_tolerance
Destructive

How far a bill may stray from its order before approval is refused: a price percentage and a quantity percentage. 0 by default. HUMAN-ONLY: this act is refused to you whatever your role — Loosening the match is a decision about how much a vendor may overcharge before a person is told no. Ask your human to do it. Refused to you whatever your role. If a bill is refused by the match, show the person the numbers (p2p_bill_match); they decide whether to loosen it. Effects: match tolerance set.

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": {
      "reason": "<reason>"
    },
    "name": "p2p_set_match_tolerance"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy, for the record.
qty_pctNoPercent a billed or received quantity may exceed what was received or ordered.
price_pctNoPercent a billed price may exceed the order's price (2 for 2%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a destructive, non-idempotent write; the description adds the critical disclosure that the call is refused to the agent regardless of role, plus the default value of 0 and the real-world consequence (how much a vendor may overcharge before a person is told no). That is meaningful behavior beyond the structured hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key constraint is front-loaded, but the refusal is stated twice in near-identical wording ('HUMAN-ONLY: this act is refused to you whatever your role' and 'Refused to you whatever your role'), which wastes space in a short description. The rationale sentence about overcharging earns its place; the duplication does not.

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

Completeness5/5

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

For a 3-parameter configuration write with no output schema, everything an agent needs is present: the meaning of the values, the default, the permission restriction, the effect, and where to send the human for the diagnostic numbers. Nothing required for correct behavior is missing.

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 100%, so the baseline is 3; the description still adds the default ('0 by default') for the two optional percentage parameters and frames them jointly as the stray allowance. The 'reason' parameter is left to its schema text, so it is not a full 5.

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?

The first sentence names the exact resource and semantics: 'How far a bill may stray from its order before approval is refused: a price percentage and a quantity percentage. 0 by default.' An agent knows this sets two tolerance thresholds governing bill approval, and the 'Effects: match tolerance set' line confirms the outcome.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states explicitly when this tool applies (a bill refused by the match), who must invoke it (a human), and what the agent should do instead (show the numbers via p2p_bill_match so the person decides). Both the when-not and the alternative path are named, not implied.

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.