Skip to main content
Glama

crm_create_records

Cria um registro (ou vários) de um objeto. Passe object (key vista no crm_describe, ex.: 'contact', 'deal') e data (objeto JSON com os campos por key). Para vários, use records (array JSON de {data}). Se a mesma criação pode se repetir (rotina diária, importação), prefira crm_upsert_records com uma chave estável, quando existir neste CRM: não duplica.

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

Input Schema

NameRequiredDescriptionDefault
dataNo
objectYes
accountNo
recordsNo
metadataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and idempotentHint=false; the description goes beyond them by explaining the practical consequence of non-idempotency (duplicate records on repeated creation) and pointing to the upsert alternative. It still omits auth requirements, partial-failure behavior in batch mode, and what the response contains, so it adds real but incomplete behavioral context.

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?

Three dense sentences, front-loaded with the core action, then the parameter recipe, then the alternative-tool caveat. No filler, though the closing clause ('quando existir neste CRM: não duplica') is slightly compressed and reads awkwardly.

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 five-parameter mutation with no output schema and no annotation-level detail, the definition omits what a create returns (record IDs?), how batch inserts behave on partial failure, and the role of `account`/`metadata`. What it does cover — object keys, data shape, duplicates — is solid, but the gaps matter for correct invocation.

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 0%, so the description carries the burden and does explain `object` (key from crm_describe, with examples) and that `data`/`records` are JSON-encoded strings rather than plain objects — valuable given the schema types both as string. However, `account` and `metadata` are never mentioned and the shape of `records` entries ('{data}') is only lightly sketched, leaving two of five parameters undocumented.

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?

The description gives a specific verb and resource ('Cria um registro (ou vários) de um objeto') and explicitly covers both the single-record and batch forms. It immediately distinguishes itself from crm_update_records and crm_upsert_records by naming the latter as the idempotent alternative, so an agent can route without opening any 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?

It states the selection condition between `data` (single) and `records` (batch) and gives a concrete reuse scenario ('rotina diária, importação') that redirects to crm_upsert_records. The guidance is hedged with 'quando existir neste CRM', and there is no explicit when-not to call it (e.g. for records that already exist), so it stops short of full routing coverage.

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.