Skip to main content
Glama

記入内容を検査する

validate_application
Read-only

読み取り検査。expected で元の値・行列見出しと保存値を照合する(表の金額は必ず渡す)。 status は技術検査の fail・warning・unknown・pass で、提出準備完了ではない。completion と remaining_actions を報告する。 review は今回の回答待ち・本人確認・意図空欄・対象外の宣言(理由必須、保存しない)。clear の原本復元とは別。 入力規則・数式参照も検査するが、必須欄・補助額計算・様式間の意味的整合性は未検証。 指摘欄は inspect_form(targets=[欄ID]) で確認する。検査と出力をまとめるなら validate_and_export_application。

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": {
      "case_id": "<case_id>"
    },
    "name": "validate_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
reviewNo
case_idYes
expectedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / $defs / ReviewEntry
      Added value: +{
      +  "description": "今回の一括確認で利用者/AIが明示した残作業。保存値・原本は変更しない。",
      +  "properties": {
      +    "form_id": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "maxLength": 500,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "state": {
      +      "enum": [
      +        "awaiting_answer",
      +        "personal_confirmation",
      +        "intentional_blank",
      +        "not_applicable"
      +      ],
      +      "type": "string"
      +    },
      +    "target": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "form_id",
      +    "target",
      +    "state",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / review
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/ReviewEntry"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description stays consistent by calling it a '読み取り検査' and noting review entries are not persisted (保存しない) and that this is distinct from clear's original restoration. It further discloses that completion/remaining_actions are reported and that certain semantic checks are NOT performed — useful context beyond the annotations, though it does not discuss performance or error behavior.

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?

Content is dense but front-loaded: the read-only nature and the expected-comparison mechanism come first, followed by status caveats, review semantics, scope limits, and sibling routing. Every line carries information, with only mild redundancy between the status sentence and the non-validated-fields sentence.

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 not be explained, yet the description still notes that completion and remaining_actions are reported. Combined with the explicit scope limits and sibling routing, an agent has essentially everything needed to call this correctly; only the case_id parameter and error behavior are unaddressed.

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

Parameters4/5

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

Although top-level schema coverage reads 0%, the description explains the two substantive parameters: 'expected' compares written values/headings against stored data (with the constraint that table amounts must be passed), and 'review' covers awaiting_answer/personal_confirmation/intentional_blank/not_applicable declarations with a mandatory reason. This meaningfully supplements the nested $defs descriptions; case_id is left implicit but is self-evident.

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 read-only check) and then states the concrete mechanism: comparing 'expected' values and row/column headings against stored values. It names the sibling tools it is not (inspect_form, validate_and_export_application), so an agent can distinguish it, though the resource ('application form submission') is implied rather than stated outright.

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

Usage Guidelines5/5

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

Routes the agent explicitly: flagged fields go to inspect_form(targets=[欄ID]), and combined validation+export goes to validate_and_export_application. It also states scope exclusions (必須欄・補助額計算・様式間の意味的整合性は未検証) and warns that status is not submission readiness, so both when-to-use and when-not-to-use are covered.

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