Skip to main content
Glama

Check Field Definitions

check_fields
Read-only

Validate field definitions for AI extractability. Returns confidence score and improvement suggestions.

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

Input Schema

NameRequiredDescriptionDefault
fieldsYesArray of field definitions to validate
languageNoLanguage for suggestions. Default: 'ja'
document_typeNoType of document these fields are for (e.g., 'invoice', 'receipt')

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 readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds value beyond them by disclosing the response contents ('confidence score and improvement suggestions'), which matters because no output schema exists; it says nothing about scoring thresholds or whether suggestions are deterministic, but for a pure read-only check that is a modest gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action and followed by the return value, with zero redundant wording. Nothing could be removed without losing information.

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 simple, read-only three-parameter validator with no output schema, the description covers purpose and the shape of the result, which is the main thing an agent needs. It could be richer by stating what the confidence score ranges over or what a low score implies, but nothing essential to invoking it correctly is missing.

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 100%, so all three parameters (fields, language, document_type) are already documented in structured form with defaults and an enum. The description adds no extra meaning, such as how document_type changes validation strictness or how language affects the returned suggestions, so the baseline 3 applies.

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 ('Validate field definitions') plus the domain of validation ('AI extractability'), so the agent knows exactly what the tool does. It is implicitly distinguishable from every sibling, which are CRUD tools for layouts, projects, extractions and templates, but the description does not name or contrast any of them.

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?

There is no guidance on when to call this: no mention that it should run before creating a layout, no prerequisites, and no conditions under which it should be skipped. The agent must infer the workflow position entirely from the name and the 'validate' verb.

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