Skip to main content
Glama

Criar contato

aspa_create_contact
Destructive

Creates a new Aspa contact from a name and full phone number with country and area code after the user explicitly approves the action.

Instructions

Create a new contact in Aspa (name and phone with country and area code, e.g. 5541999999999). This is a real action visible to the customer or the team. Only call it after the user explicitly approved this exact action in the conversation.

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>",
      "phone": "<phone>"
    },
    "name": "aspa_create_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
phoneYesFull number with country and area code, e.g. 5541999999999.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the description need not restate that this writes. It adds genuinely new context: the effect is a "real action visible to the customer or the team", which tells the agent the side effect is externally observable, plus the approval requirement. It stops short of saying what happens on a duplicate phone number or whether the call is idempotent, which matters for a destructive write.

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?

Three short sentences, no filler, and the identity of the tool is front-loaded before the approval constraint. Each sentence carries a distinct piece of information: what it does, what format it needs, and how consequential it is.

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 two-parameter destructive write with no output schema, the definition covers the action, the approval gate and the phone format. It is silent on the outcome of the call (does it return the new contact id, which the agent would need for follow-up aspa_send_message calls?) and on duplicate handling. Those are the gaps an agent would actually hit in practice.

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?

With schema description coverage at 50%, the description must carry more weight. It repeats the phone format guidance already in the schema (country plus area code, e.g. 5541999999999) and adds nothing about the name parameter beyond its existence, so half the inputs remain described only by minLength constraints. Useful but not compensating for the gap.

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 gives a specific verb plus resource ("Create a new contact in Aspa") and enumerates the two fields it accepts, so an agent can distinguish it from aspa_search_contact, aspa_rename_contact and aspa_update. It never names those siblings or states the boundary explicitly, which is the only thing keeping 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 Guidelines4/5

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

It states a firm precondition: "Only call it after the user explicitly approved this exact action in the conversation." That is clear when-to-use guidance with an approval gate rather than a vague hint. It does not name any alternative tool for the case where the user has not approved or where the contact may already exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.