Skip to main content
Glama

match_form_fields

Builds a value-free ranked table of saved records for form fields so an agent can select a match, ask one focused question when unclear, and record confirmed choices.

Instructions

Build a value-free ranked record table for an acting LLM: it can use the top saved record, ask one focused question when the table is unclear, and record a confirmed choice for the next match. Shipping/task hints, consent hints, and page defaults stay separate from saved data.

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": {
      "fields": "<fields>"
    },
    "name": "match_form_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
fieldsYes
purposeNo
agent_idNo
target_originNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.2/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 meaningful traits: the output is value-free (no raw values surfaced), hints and page defaults are kept separate from saved data, and the table is ranked. However, it does not disclose whether "record a confirmed choice" mutates state, what permissions are needed, or how ranking is derived.

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?

It is short (two sentences) with no filler, but the front-loaded clause is the most jargon-heavy part and the reader must decode phrases like "value-free ranked record table" before reaching the actionable guidance. Structure is acceptable but the wording is convoluted rather than crisp.

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

Completeness2/5

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

This is a moderately complex tool with five parameters including a structured fields array, no output schema, and no annotations, yet the description explains none of the inputs and omits return-shape and side-effect details. It conveys a conceptual model of the matching loop but not enough for an agent to construct a correct call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and none of the five parameters (fields, purpose, agent_id, target_origin, limit) is explained in the description. The nested field object properties such as value_state, consent, blocked, and task_specific are entirely undocumented, so the description adds no parameter meaning whatsoever.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it will "build a value-free ranked record table," which is a verb plus an abstract resource, but "record table" and "acting LLM" are internal jargon that never say what is being matched or against what. It does not distinguish this tool from siblings like match_credentials or match_email_sources, so an agent cannot reliably tell what domain of records this ranks.

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

Usage Guidelines2/5

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

It sketches an agent workflow (use the top saved record, ask one question when unclear, record a confirmed choice for the next match) but never states when to call this instead of the many sibling match_* or request_* tools. There is no explicit when/when-not guidance or prerequisite.

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