Skip to main content
Glama

validate_declaration

Checks a tax declaration for errors, warnings, and optimization hints so you can fix issues before finalizing.

Instructions

Validate the declaration for errors, warnings, and optimization hints.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate_declaration"
  }
}

Input Schema

NameRequiredDescriptionDefault
validation_modeNoCHECK_AND_OPTIMIZE

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not say whether validation is read-only or mutates the declaration (the default mode CHECK_AND_OPTIMIZE suggests it may apply optimizations), whether an open declaration is a precondition, or whether results are persisted.

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?

One tight sentence that front-loads the verb and lists the three result categories without filler. It is efficient, though its brevity is part of why key behavior is missing.

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?

An output schema exists so return values need not be described, but the definition still omits the validation_mode semantics, the precondition of an open declaration, and any distinction from the similar check tools. For a tool whose default mode implies it may modify data, that is a real gap.

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

Parameters2/5

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

The single parameter validation_mode has 0% schema description coverage and no enum, so the only visible value is the default 'CHECK_AND_OPTIMIZE'. The description never mentions the parameter or the alternative modes, leaving the agent unable to select a mode deliberately.

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 ('Validate') and resource ('the declaration') and names the outputs of the check (errors, warnings, optimization hints), so the agent knows what the call produces. It stops short of distinguishing itself from siblings like check_and_optimize or check_dialog, which sound closely related.

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 when-to-use guidance at all: nothing says whether this applies to an already-open declaration, when it should be preferred over check_and_optimize or check_dialog, or whether it must be run before save_declaration. The agent must infer the workflow position from the name alone.

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