Skip to main content
Glama

Name the vendor

purch_set_vendor
Destructive

Name the shop behind a row once; its statement spelling becomes an alias for every later row. One vendor, many spellings. The alias is the description as printed; pass it (or let it default to the row's description) so the next statement names the shop by itself. Effects: vendor created if new; alias recorded; vendor set on every unassigned row with that description.

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": {
      "transaction_id": "<transaction_id>",
      "vendor": "<vendor>"
    },
    "name": "purch_set_vendor"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasNoThe statement spelling to remember. Defaults to the row's description.
reasonNoWhy — optional.
vendorYesThe vendor's proper name (Netflix, Countdown).
transaction_idYesThe row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent and destructive, but the description adds genuinely new behavioral facts: the vendor is created when new, an alias is persisted, and the vendor is applied to *every* unassigned row sharing that description — a bulk side effect not visible in the annotations. It also implicitly reassures that assigned rows are not overwritten ('unassigned row'). What it omits is reversibility/undo and whether the aliasing affects future transactions only.

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?

The core action is front-loaded in the first clause, and the three-sentence structure (what it does, why the alias matters, effects) is easy to scan. The fragment 'One vendor, many spellings.' and slightly idiomatic phrasing like 'statement spelling' add a little noise but earn their place as context.

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 annotations covering the safety profile and no output schema required, the effects list does most of the necessary work for a four-parameter mutation. However, the vendor-versus-alias mechanics remain fuzzy (what key future rows are matched on, what happens when the description differs later), and the destructive flag is never explained in terms of what can be undone.

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%, so all four parameters are already documented in structured form. The description restates that the alias is the statement spelling and defaults to the row's description, which largely duplicates the schema text, and it says nothing about the optional 'reason' parameter. Baseline 3 applies when the schema carries the semantic load.

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?

The description names a specific action on a specific resource: assign a canonical vendor to a transaction row and record the statement description as an alias. The 'Effects' line spells out the concrete outcomes (vendor created if new, alias recorded, vendor set on matching unassigned rows). It never names a sibling such as p2p_record_vendor_bill, so an agent must infer differentiation, but the verb+resource is unambiguous.

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

Usage Guidelines3/5

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

The phrase 'so the next statement names the shop by itself' conveys the intended forward-looking reason to call it, and the alias defaulting rule hints at how to invoke it. There is no explicit when-not guidance, no statement about what to do if the vendor is already assigned, and no pointer to an alternative tool for recording bills or changing an existing assignment.

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.