Skip to main content
Glama

Ativar/inativar atendimento

astrea_set_consulting_active

Sets a consulting attendance active or inactive by ID, enabling AI assistants to open or close Astrea legal service records.

Instructions

Ativa ou inativa (encerra) um atendimento.

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": {
      "active": "<active>"
    },
    "name": "astrea_set_consulting_active"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeYes
consultingIdNoID do atendimento no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, so the description's only added value is the gloss that deactivation means closure. It says nothing about reversibility of closure, side effects on related records, permissions required, or what the response contains. Notably, 'encerra' (closes) sits uneasily with destructiveHint=false without any explanation of whether closed consultings can be reopened.

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; efficiency is high. It is short to the point of under-specification, but that is penalized under other dimensions rather than here.

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-changing tool with an optional target identifier and no output schema, the definition leaves too much unsaid: target selection, reversibility of closure, and side effects. The annotations carry the safety profile, but the remaining gaps are substantial.

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?

Only consultingId is documented in the schema (50% coverage); the description implies active=true/false maps to activate/deactivate but never states it. The schema marks consultingId as optional while active is required, and the description gives no clue what happens when consultingId is omitted — a real ambiguity for a tool that mutates a specific record.

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 pair (ativar/inativar) and resource (atendimento), and the parenthetical 'encerra' clarifies that deactivation means closing the consulting. It does not explicitly contrast with astrea_delete_consulting or astrea_toggle_case_active, but the operation is unambiguous on its own.

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 guidance on when to activate versus deactivate, no mention of prerequisites, and no pointer to alternatives such as deleting the consulting instead of closing it. The agent must infer usage entirely from the name.

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