Skip to main content
Glama

Arquivar/reativar processo

astrea_toggle_case_active

Toggles a legal case between active and archived status using its Astrea case ID, letting you update case activity state without manual navigation.

Instructions

Alterna o processo/caso entre ativo e arquivado (inativo).

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

Input Schema

NameRequiredDescriptionDefault
caseIdNoID do processo/caso no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/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, and the description's "alterna" framing is consistent with a reversible, non-destructive mutation. However, it does not state whether archived cases disappear from default listings, whether the operation is idempotent, or what confirmation/response the caller gets — value beyond the annotations is limited.

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 zero filler; the essential purpose is stated first. It is efficient but so terse that no operational context is included.

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 state-mutating tool with no output schema, the description leaves important gaps: the toggle direction is not deterministic from the caller's side, caseId is not schema-required yet clearly needed, and no return/confirmation behavior is described. Annotations cover safety hints but not the operational contract.

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?

Only one parameter, caseId, and schema description coverage is 100%, so the baseline is 3. The description adds nothing about which identifier form is expected or what happens when caseId is omitted (the schema marks it non-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?

Names a specific verb ("Alterna") and the exact state pair (ativo ↔ arquivado/inativo), so the agent knows this flips the archived state of a specific case. It does not distinguish itself from near-name siblings such as astrea_toggle_case_important, but the resource and state change are unambiguous.

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 versus astrea_update_case or astrea_delete_case, nor any note that it acts as a two-way toggle (calling it twice restores the original state). Usage is only inferable from the tool name and the parenthetical "(inativo)".

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