Skip to main content
Glama

Criar contato

astrea_create_contact

Create an individual or company contact with name, email, and phone in Astrea to store client and party records for legal cases.

Instructions

Cria um contato (pessoa física ou jurídica).

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

Input Schema

NameRequiredDescriptionDefault
kindNoPERSON=pessoa física, COMPANY=pessoa jurídicaPERSON
nameYes
emailNo
phoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/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/safety profile is covered structurally. The description adds nothing beyond that: it does not say what happens on duplicate email or document, whether the response returns an identifier, or whether the created contact is immediately visible. For a creation mutation with zero annotation-independent context, this is thin.

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 wasted words and a front-loaded verb, which is structurally sound. However, the brevity is under-specification rather than economy — nothing about the tool's behavior or parameters is conveyed.

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?

This is a write tool with four parameters, no output schema, and low schema coverage, so the description carries a large explanatory burden that it does not meet. It never states what the call returns (e.g., the new contact's ID) or how errors like duplicates surface, leaving the agent without enough to call it confidently.

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?

Schema description coverage is only 25%, so the description would need to compensate and does not. The phrase 'pessoa física ou jurídica' merely restates the already-documented `kind` enum, while `name`, `email`, and `phone` receive no semantic treatment (uniqueness, formatting expectations, required-vs-optional implications).

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 states a specific verb and resource ('Cria um contato') and clarifies the entity subtype (pessoa física ou jurídica). Combined with the create_* naming pattern against siblings like astrea_update_contact and astrea_delete_contact, an agent can identify the operation without opening the schema. It stops short of explicitly differentiating itself from other create tools or noting what makes this contact-creation distinct.

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 guidance, no prerequisites, and no mention of alternatives such as astrea_find_contact_by_document for checking whether a contact already exists. The agent must infer entirely from the tool name that this is the entry point for adding a new contact.

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