Skip to main content
Glama

save_declaration

Save the active tax declaration to the backend and optionally close the editor session to secure current changes.

Instructions

Persist the active declaration on the backend and optionally close the editor session.

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

Input Schema

NameRequiredDescriptionDefault
close_sessionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does disclose the mutation ('persist ... on the backend') and one genuine side effect ('optionally close the editor session'), which is real value. However, it says nothing about permissions, whether saving validates the declaration first, or what happens if the declaration is invalid or no session is open.

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?

A single sentence with the action front-loaded and the conditional side effect trailing it. No filler words, though the sentence is terse enough that it omits useful qualifying context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one optional boolean) and has an output schema, so return values need not be described. Still, for a mutation with no annotations, the definition leaves out failure modes and preconditions that an agent would want before invoking it.

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% for the single parameter, so the description must compensate. It does: 'optionally close the editor session' explains both the meaning and the effect of close_session, including that it is optional. It could still clarify whether an already-closed session causes an error, but the core semantics are covered.

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 names a specific verb and resource: persist the active declaration to the backend. That is far more informative than the bare name, and it is separable from siblings like create_declaration or validate_declaration. It does not explicitly contrast itself with those siblings, which keeps it at 4 rather than 5.

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?

Usage is only implied: an agent can infer this is the way to commit edits on the currently open declaration. There is no explicit statement of when to call it versus validate_declaration, post_edit, or close_declaration, and no stated prerequisite that an active declaration must exist.

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