Skip to main content
Glama

tarefa_create

Cria uma tarefa vinculada a um contato e/ou oportunidade (pelo menos um dos dois). Sem owner_id, o responsável é o do negócio (ou o dono do contato).

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

Input Schema

NameRequiredDescriptionDefault
tipoNo
tituloYes
owner_idNo
descricaoNo
contato_idNo
prioridadeNo
data_vencimentoNoPrazo (ISO 8601 com fuso, ex.: 2026-10-10T14:00:00-03:00).
oportunidade_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive write, so the bar is lower. The description adds genuine behavior beyond them: the owner_id defaulting rule (deal owner, else contact owner), which affects the created record's assignment. It does not mention side effects, validation failures, or whether a task can be linked to both entities simultaneously beyond 'and/or'.

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 with the linking constraint front-loaded and the owner fallback second. No filler, no repetition of schema field names without added meaning.

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 an 8-parameter create tool with no output schema, the description covers the two most consequential behaviors (mandatory relationship and owner defaulting). It is still incomplete on defaults for tipo/prioridade and on what the response contains, so an agent would need to open the schema for the rest.

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 description coverage is only 13%, with just data_vencimento documented in the schema, so the description does carry weight. It clarifies the semantics of contato_id, oportunidade_id, and owner_id, but says nothing about tipo, titulo, descricao, or prioridade, leaving half the parameters undocumented.

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?

States a specific verb and resource ('Cria uma tarefa') and adds the linking scope to a contact and/or opportunity. It is clearly a create operation, distinguishable from the list/get siblings, though it does not name any sibling explicitly.

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

Usage Guidelines3/5

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

Gives a real invocation prerequisite — at least one of contato_id or oportunidade_id must be supplied — which the schema's required list (only titulo) does not enforce. It offers no guidance on when to prefer creating a task versus a nota or other sibling, so usage is implied rather than fully directed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources