Skip to main content
Glama

Detalhe da despesa

astrea_get_expense
Read-only

Retrieves details for a specific expense using its ID, so users can review financial entries in an Astrea legal-practice account.

Instructions

Detalhes de uma despesa.

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_get_expense"
  }
}

Input Schema

NameRequiredDescriptionDefault
expenseIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no note on what is returned, whether the record can be missing, or what an open-world lookup implies (e.g., external lookups, latency, auth requirements).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but vacuous; it is under-specification rather than conciseness. Every word could be replaced by the tool name with no loss of information.

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 simple single-record read with no output schema, the description still needs to say what an expense record contains or how to identify it. Neither is present, so an agent cannot predict the response shape or validate its identifier.

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 0% for the single parameter expenseId, and the description does not explain its format, origin, or what happens if it is omitted (the schema marks it non-required, which is surprising for a detail lookup). This is a gap the description should have closed.

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

Purpose2/5

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

"Detalhes de uma despesa" restates the title "Detalhe da despesa" almost verbatim, adding no verb specificity or scope. It does convey the resource (expense) and that a single record is retrieved, but that is already inferable from the tool name itself.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of how this differs from siblings such as astrea_create_expense, astrea_delete_expense, or other astrea_get_* lookups. The agent must infer entirely from the name that this is the read path for a single expense.

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