Skip to main content
Glama
mcp-sienge

mcp-sienge

by Miranda-F

Clientes

sienge_clientes
Read-onlyIdempotent

Search and retrieve customer records by CPF, CNPJ, project, registration date, or ID, and filter returned Sienge ERP results by name locally.

Instructions

Pesquisa clientes por CPF, CNPJ, empreendimento ou datas de cadastro, ou detalha um cliente pelo id. O filtro 'nome' é aplicado localmente sobre os registros retornados (a API não filtra por nome).

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": "sienge_clientes"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpfNo
cnpjNo
nomeNo
offsetNo
cliente_idNo
max_registrosNo
somente_ativosNo
empreendimento_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context by noting that the 'nome' filter runs locally over returned records rather than in the API – an important quirk an agent would not know otherwise.

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?

Two sentences, front-loaded with the primary search/detail purpose, then the key 'nome' caveat. No filler, though the erroneous 'datas de cadastro' mention is a minor blemish.

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?

For an 8-parameter tool with no output schema and zero schema descriptions, the definition leaves pagination controls (offset, max_registros) and the somente_ativos flag completely undocumented, and it promises a date filter that does not exist. An agent cannot fully configure the call from this description alone.

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?

With 0% schema description coverage across 8 parameters, the description must carry the burden. It names cpf, cnpj, empreendimento and cliente_id, but omits offset, max_registros (with its default/max) and somente_ativos, and it references 'datas de cadastro' even though no date parameter exists in the schema, which is misleading.

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 ('Pesquisa clientes', 'detalha um cliente pelo id') and enumerates the filterable fields, making the tool's scope clear. It does not explicitly differentiate itself from siblings, but the resource (clientes) is specific enough to separate it from the many titulos/pedidos tools.

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?

The description implicitly establishes two modes – search by fields or detail by cliente_id – which guides invocation. However, it never says when to prefer this tool over related siblings (e.g. sienge_titulos_receber_cliente) and gives no exclusions or prerequisites.

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