Skip to main content
Glama

Lançar honorário

astrea_create_honorary

Create a fee entry for a legal case or customer by providing the amount, description, and due date to record honorary charges in the legal-practice account.

Instructions

Lança um honorário em um processo/caso.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": "<amount>",
      "description": "<description>",
      "dueDate": "<dueDate>"
    },
    "name": "astrea_create_honorary"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYes
caseIdNo
dueDateYesData no formato AAAA-MM-DD
customerIdNo
descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.8/5.0
Behavior2/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 write/external-effect profile is supplied structurally. The description adds nothing beyond that — no mention of what is created, whether financial/accounting side effects occur in the case, whether duplicate fees are allowed, or what is returned on success. For a financial record creation tool with openWorldHint=true, that is a meaningful gap.

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

Conciseness3/5

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

A single short sentence with no filler, so nothing is wasted — but the brevity reflects under-specification rather than density. It is front-loaded correctly but carries almost no information payload.

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 5-parameter creation tool with 20% schema coverage, no output schema, and open-world write behavior, the definition omits nearly everything an agent needs: which identifier is authoritative, amount semantics, error conditions, and the returned shape. Only the core intent is conveyed.

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 only 20% (only dueDate is documented, with its AAAA-MM-DD format), so the description would need to compensate for amount, description, caseId and customerId. It contributes only the weak hint that the fee belongs to a 'processo/caso' (caseId), and does not clarify why both caseId and customerId are optional when 3 other fields are required, nor any amount/currency constraints. This is below the 3 baseline normally granted under high coverage.

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?

Names a specific verb+resource ('Lança um honorário') and adds the scoping context that it is tied to a case/lawsuit ('em um processo/caso'), which distinguishes it from astrea_get_honorary and astrea_delete_honorary by action type. It stops short of explicitly naming those siblings as alternatives, so it is clear but not differentiating by routing.

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 statement of when to use this tool versus the get/delete honorary siblings, nor any prerequisites (e.g., whether the case must already exist, or whether a customer is required). The only usage signal is the implicit 'create a fee' framing.

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