Skip to main content
Glama

Fill in missing suppliers

match_suppliers

Sets the SUPPLIER on every expense that has none; it never touches bank transactions or reconciliation, so to link entries to bank lines use match_transactions instead. It dedupes the supplier records first, then lets SuperCat predict each expense's supplier (canonicalised to the dedupe-group leader). Only proposals that clear SuperCat's strong-prediction bar (confidence >= 0.75 AND topsim >= 0.4 AND (support >= 2 OR topsim >= 0.85)) are auto-applied; weaker guesses are surfaced for confirmation, not applied.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes well beyond by disclosing that supplier records are deduped first, that SuperCat predicts and canonicalises to the dedupe-group leader, and that only proposals clearing the strong-prediction bar (confidence >= 0.75, topsim >= 0.4, support >= 2 or topsim >= 0.85) are auto-applied. It also clarifies that weaker guesses are surfaced rather than applied, which is the key safety behaviour. It stops short of saying how proposals are surfaced or whether the operation is reversible/idempotent, which keeps it from a 5.

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?

Purpose and scope are front-loaded in the first clause, then exclusions, then mechanism. The threshold expression in parentheses is dense but each clause carries real decision value for predicting behaviour. Marginally over-packed as one paragraph rather than crisp sentences.

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 zero-parameter tool with no output schema, the description covers scope, exclusions, internal mechanism, and the auto-apply versus surface-for-confirmation split. An agent has everything needed to decide whether to call it and what to expect.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to add; baseline is 4. The description does not need to compensate for any schema gap here.

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?

States a specific verb and resource with precise scope: 'Sets the SUPPLIER on every expense that has none'. It immediately delineates what it does not touch (bank transactions, reconciliation) and names the sibling tool that handles that case, so an agent can discriminate it from match_transactions without opening either schema.

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?

Explicitly gives the when-to-use and the when-not-to-use: this tool for blank suppliers, match_transactions for linking entries to bank lines. The alternative and the selection condition are both named, leaving nothing to inference.

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.

Resources