Skip to main content
Glama

Tratar publicação

astrea_assign_clipping

Links a publication to a legal case and records it as a progress entry, keeping case histories updated.

Instructions

Vincula a publicação a um processo/caso, gravando-a como andamento.

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

Input Schema

NameRequiredDescriptionDefault
caseIdNoID do processo/caso no Astrea
clippingIdNoID da publicação no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already disclose the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the description only needs to add context. It does add one genuinely useful behavioural fact: the clipping is recorded as an 'andamento' on the case, i.e. a visible side effect in the case timeline. It stops short of stating idempotency (what happens if the clipping is already linked), required permissions, or whether the clipping's own state changes.

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 front-loaded sentence with no filler; every clause carries information (link action, target, resulting record). It is arguably too compressed for a mutation tool, but nothing in it is wasted.

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?

For a write tool with annotations present, a fully documented two-parameter schema, and no output schema, the essentials are covered. However, the description leaves unclear what 'andamento' means in practice, what the response confirms, and how failures (invalid caseId or clippingId) surface — and it does not address the unusual fact that neither parameter is required.

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 100%, with both caseId and clippingId documented in the schema, so the baseline of 3 applies. The description references both concepts but adds no new semantics such as accepted ID formats, whether IDs can be external references, or why neither parameter is marked required.

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 ('Vincula') and both resources (publicação, processo/caso), and it adds the resulting effect ('gravando-a como andamento'), so an agent understands this is an association-plus-write operation rather than a read. It does not explicitly distinguish itself from likely neighbours such as astrea_clipping_action or astrea_get_clipping, which keeps it from a 5.

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 when-to-use or when-not-to-use guidance, no mention of alternatives, and no prerequisites (e.g., that both a case and a clipping must already exist). The intended usage is only inferable from the verb and the two parameter names.

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