Skip to main content
Glama

補助・助成.jp

記入内容を検査して出力する

validate_and_export_application

同じ記入内容を検査し、pass なら出力。fail は出力しない。 warning・unknown は指摘を利用者と確認した後だけ allow_warnings=true で出力する。 expected は validate_application と同じ。表の金額には元の値・行列見出しを渡す。 必須欄・補助額の正しさ・書式は検証しきれないので、提出前に実ファイルを確認する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_idYes
expectedNo
allow_warningsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, closed-world write, and the description adds meaningful behavior beyond them: fail means no export at all, warnings/unknown block export unless allow_warnings=true after user confirmation, and validation explicitly does NOT cover required fields, subsidy-amount correctness, or formatting (check the real file before submission). These are exactly the operational caveats an agent needs for a write 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?

Front-loads the pass/fail export rule in the first line, then layers the warning gate, the expected reference, and the validation-limit caveat in short clauses. Very little waste, though the four-line layout is slightly terse in places.

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?

With an output schema present, return values need no explanation, and annotations cover the safety profile. The description adequately supplies the conditional-export logic, the confirmation prerequisite, and the validation boundaries; only the meaning of case_id and the exact failure response remain unstated.

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?

Top-level schema description coverage is 0%, so the description must carry the load. It clarifies allow_warnings semantics and instructs that table amounts need the original value plus row/column headers (mapping to the nested value/row/column fields), and points expected at validate_application's contract. But case_id is never explained and the expected entries' shape is only deferred, not described.

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 compound action — validate the same entered content and export only on pass — and explicitly ties the 'expected' input to validate_application, so the agent can distinguish it from validate_application (no export) and export_application (no validation). Clear verb+resource, though the export mechanism itself is only implied.

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?

Gives conditional guidance for the allow_warnings path (warnings/unknown require confirming the issues with the user first), which is real routing advice. However it never states when to prefer this combined tool over calling validate_application then export_application separately, leaving the primary tool-selection decision 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