Skip to main content
Glama

Baixar/reabrir lançamento

astrea_toggle_entry_done

Toggles a financial entry between paid/received and open status, enabling AI assistants to update Astrea financial records.

Instructions

Alterna um lançamento entre pago/recebido e em aberto.

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

Input Schema

NameRequiredDescriptionDefault
dateNoData no formato AAAA-MM-DD
entryIdNo
accountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the baseline is lower. The description adds the domain-specific effect (flipping between paid/received and open), which is genuinely useful. However, it does not disclose that the resulting state depends on the entry's current status, whether repeated calls are idempotent, or what happens if the entry is in an unexpected state.

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 definition is a single front-loaded sentence with no filler and the state transition stated immediately. It is efficient, though its brevity contributes to the missing operational detail noted in other dimensions.

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?

For a mutation tool with three parameters (none marked required), no output schema, and only partial schema coverage, the description omits too much: which parameters are mandatory, what the toggle does when the entry is already in the target state, and what the response contains. It is not sufficient on its own for correct invocation.

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?

Schema description coverage is only 33%: only the date parameter is documented ('Data no formato AAAA-MM-DD'), while entryId and accountId have no description in either the schema or the description. With three parameters and a low-coverage schema, the description needed to explain what identifies the target entry and account, but it mentions no parameters at all.

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 uses a specific verb (toggles) on a specific resource (um lançamento) and names the exact states it flips between (pago/recebido vs. em aberto), which aligns with the title 'Baixar/reabrir lançamento'. It does not explicitly contrast itself with siblings such as astrea_create_entry or astrea_delete_entry, so an agent must infer that this is the state-change tool rather than a create/delete tool.

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 explicit guidance on when to use this tool, when not to, or what alternatives exist. The only implied usage is that it settles or reopens an entry, which the agent must derive from the state names alone; prerequisites and preconditions are absent.

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

Deploy Server

Other Tools