Skip to main content
Glama

Excluir contato

astrea_delete_contact
Destructive

Deletes a contact by ID and prevents removal when linked to processes; confirm before use because this action is destructive.

Instructions

Exclui um contato (o Astrea recusa se ele estiver vinculado a processos). AÇÃO DESTRUTIVA: confirme antes.

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

Input Schema

NameRequiredDescriptionDefault
contactIdNoID do contato no Astrea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description's job is to add business context — which it does by disclosing the server-side refusal when the contact is linked to cases, a failure mode not visible in structured fields. It stops short of stating whether deletion is permanent or what happens to associated records, so it isn't full coverage.

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

Conciseness5/5

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

Two short sentences, zero filler, with the destructive warning front-loaded after the core purpose. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with rich annotations and no output schema, the description covers purpose, the key precondition, and a confirmation prompt. The gap is that required-parameter count is 0 despite contactId being the only input, and the description does not clarify that the ID is effectively required or what a successful response looks like.

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 a single parameter ('ID do contato no Astrea'), so the schema already carries the meaning. The description adds nothing about the identifier format or that the ID is in practice mandatory, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Exclui um contato') that an agent can map directly onto the tool name and distinguish from create/get/update/find contact siblings. The parenthetical adds the refusal condition, so the purpose is unambiguous without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-not condition ('o Astrea recusa se ele estiver vinculado a processos') and an instruction to confirm before acting. It stops short of naming or routing to alternatives (e.g. unlink-then-delete or deleting a case link first), so it loses a point versus the 5 bar.

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