Skip to main content
Glama

match_financial_records

Match saved financial records by name, alias, card metadata, default status, or four/five-digit suffix without returning stored values; disambiguate when multiple records match.

Instructions

Match payment metadata by name/alias query (including hint/institution/network), default-card status, network, last four, expiration, or a four/five-digit card_suffix. Suffix comparison stays inside the vault; values are never returned. Multiple matches require disambiguation.

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_financial_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
queryNo
agent_idNo
is_defaultNo
card_suffixNo
matching_hintsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two genuinely non-obvious traits: suffix comparison happens inside the vault and values are never returned, plus multiple matches require disambiguation. However, it never states what a match actually yields (count, opaque reference, token) or whether the operation is side-effect free, which is the most important behavioral question for a matching tool.

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?

Three sentences, front-loaded with the matching criteria, then the privacy guarantee, then the disambiguation caveat. Dense and mostly waste-free, though the parenthetical '(including hint/institution/network)' is slightly compressed to the point of ambiguity about where those values live.

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?

For a six-parameter tool with a nested object, no output schema, and no annotations, the description leaves meaningful gaps: the return shape, the meaning of 'disambiguation' operationally, and the roles of kind and agent_id. What it does cover (match criteria, no-value-return guarantee) is accurate and useful.

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 0%, so the description must compensate, and it partially does: it explains that query matches name/alias and that matching_hints carries hint/institution/network, and it notes card_suffix is four or five digits. But two of the six parameters, 'kind' and 'agent_id', are never mentioned, and the nested matching_hints object's expected keys are only gestured at.

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 opens with a specific verb+resource ('Match payment metadata') and enumerates the matching criteria (name/alias query, default-card status, network, last four, expiration, card_suffix). It is clearly distinguishable from list_financial_records by being a criteria-based match rather than an enumeration, though it never names the sibling explicitly.

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?

Usage is only implied: the agent can infer this is the tool for resolving a card from partial attributes without exposing values. There is no explicit 'use this instead of list_financial_records when...' guidance, and no stated prerequisites (e.g., whether an agent_id is needed to scope the vault search).

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