Skip to main content
Glama
claim-reconciliation-agent

claim-reconciliation-agent

generate_claim_template

Generate an import-ready local XLS template for OA claims from structured candidates, validating full 32-character serial numbers and pausing if any are missing or truncated.

Instructions

生成可导入 OA 的本地模板副本。

消费编排传入的结构化候选(每条含完整 32 位 hex 流水号、公司、账户、单位名称、责任人、认领状态),复用阶段一模板生成能力写出本地 XLS。完整流水号缺失或截断即结构化暂停;不连接/读取/写入/上传/导入真实 OA,不自行计算或回显完整流水号,不覆盖内置源模板。

Input Schema

NameRequiredDescriptionDefault
rowsYes
output_pathYes
source_templateYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the tool does not connect/read/write/upload/import the real OA, does not compute or echo the full serial number, and does not overwrite the built-in source template. These explicit non-behaviors establish the safety profile clearly, though it stops short of describing idempotency or failure handling beyond the pause condition.

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?

The description is front-loaded with the core action, then the input contract, then the constraints, so the most important information comes first. The constraint tail is dense but each clause (safety, no echo, no overwrite) earns its place.

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 local file-generation tool with an output schema, the description covers purpose, consumed input shape, output artifact, and safety boundaries without needing to explain return values. The only real gap is the absence of explicit sibling routing, but it is otherwise complete for correct invocation.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it explains that rows hold structured candidates with full 32-hex serial numbers plus company/account/unit/responsible/claim fields, that source_template is the built-in template (which is not overwritten), and that output_path yields a local XLS. It adds substantial meaning, though the parameter names aren't mapped to their roles as crisply as they could be.

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

Purpose5/5

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

The opening line states a specific verb+resource: generate a local template copy that can be imported into OA, and it specifies the concrete output (a local XLS). It also explicitly distinguishes itself from real OA operations, so an agent can separate it from siblings like open_greencloud_oa_command without opening a schema.

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?

It states the operating context (consumes structured candidates passed in by the orchestration) and one gating condition (pause if the serial number is missing/truncated), which is useful when-to-run guidance. However, it never names an alternative tool or explicitly says when to prefer this over confirm_oa_flow_numbers or the OA command sibling, so routing is left to inference.

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