Skip to main content
Glama

Unmatch

rec_unmatch
Destructive

Undo a match, with a reason. The row goes back to how it was reviewed before; the payments are unmatched again. For a match that was wrong. The row returns to its earlier review (often not reviewed); say so to the person. Effects: match undone; the row back to its earlier review.

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

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy it was wrong.
match_idYesThe match, e.g. BM-0001. An existing bankrec_match id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real value beyond that: what is undone (payments become unmatched again) and what state the row reverts to (its earlier review, often unreviewed). It also tells the agent to communicate the regression to the user, which is useful behavioral guidance.

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?

Front-loaded and short, but the reversion-to-earlier-review fact is stated three separate times ('goes back to how it was reviewed before', 'returns to its earlier review', 'Effects: the row back to its earlier review'). Two of four sentences are redundant restatements.

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 destructive mutation with no output schema, the essential information is present: what the tool does, the required inputs, the resulting state, and the user-communication obligation. It omits error/not-found behavior, which is a minor gap.

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 coverage is 100% and both params are documented with an example id format, so the schema carries the load. The description only reinforces that a reason is mandatory, adding no format or validation detail beyond the schema.

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 ('Undo a match') that is unmistakably the inverse of the sibling rec_match, and adds the required 'with a reason'. It doesn't name a sibling explicitly, but the operation is unambiguous on its own.

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?

'For a match that was wrong' gives a clear selection condition for when to use this rather than re-matching or leaving the match in place. No when-not conditions or explicit alternatives (e.g. rec_match, rec_get_match) are named, so it stops short of a 5.

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.