Skip to main content
Glama

Despesas de processos

astrea_list_expenses
Read-only

Lists expenses, optionally filtered by case or process, to help you review financial entries in an Astrea legal-practice account.

Instructions

Lista despesas (opcionalmente de um processo/caso).

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

Input Schema

NameRequiredDescriptionDefault
caseIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/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, but the description adds nothing beyond them: no mention of pagination, result volume, ordering, or what an open-world listing implies. For a list endpoint that could return large datasets, that silence is a real gap.

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 short sentence with zero padding, and the resource is front-loaded before the optional qualifier. Its brevity is efficient rather than wasteful, though it borders on under-specification for a listing tool.

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 parameter, no nested objects, no output schema) and annotations cover the read-only profile, so the description is minimally sufficient. It still leaves the agent without any sense of return shape, volume, or ordering, which matters for a list operation.

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

Parameters3/5

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

Schema coverage is 0%, so the description carries the burden for the single parameter. It does explain that the scope is a 'processo/caso' and that it is optional, which maps onto caseId and its non-required status, but it gives no format or identifier hints beyond that.

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 and resource: 'Lista despesas' (lists expenses), with an optional case scope. It is clear what the tool returns, but nothing distinguishes it from near-neighbors such as astrea_list_honoraries, astrea_list_timesheets or astrea_list_accounts, which an agent could easily confuse with expenses.

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?

The only guidance is 'opcionalmente de um processo/caso', which hints at an optional filter but never says when to use this tool versus the many other list_* siblings, nor when omitting the case filter is preferable. No exclusions, prerequisites or alternatives are given.

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