Skip to main content
Glama

oportunidade_list

Read-only

Lista oportunidades com filtros (funil, etapa, responsável, busca textual). Cada item retorna o número sequencial #NN e o contato resumido, que pode ser pessoa ou empresa (contato.nome_exibicao traz o nome pronto; empresa usa nome_fantasia ou razao_social).

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

Input Schema

NameRequiredDescriptionDefault
buscaNo
limitNo
offsetNo
etapa_idNo
funil_idNo
contato_idNo
usuario_responsavel_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 readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description usefully adds return-shape behavior — each item carries a sequential #NN and a summarized contact that may be person or company, with nome_exibicao as the ready display name — but says nothing about pagination limits, default page size, or ordering.

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 action and filters, then the return shape. The parenthetical about nome_exibicao/nome_fantasia/razao_social is dense but earns its place since no output schema exists.

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 seven-parameter list tool with no output schema, the description covers the filter surface and the item shape reasonably well. It is incomplete on pagination semantics (limit max 100, offset start) and on the unimplemented contato_id filter, which an agent would need to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does map four of the seven parameters to meaningful concepts (funil_id, etapa_id, usuario_responsavel_id, busca as textual search). It omits contato_id, limit, and offset entirely, leaving the pagination and contact-scoping parameters undocumented except for their raw types.

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 ('Lista oportunidades') and enumerates the filter dimensions (funil, etapa, responsável, busca textual), which separates it from opportunistic single-record siblings like oportunidade_get or the mutation tools. It stops short of naming an alternative explicitly, so it is clear but not fully differentiated in-text.

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 presence of filters and the word 'Lista' imply this is the browse/search entry point, and no exclusions or prerequisites are given. There is no explicit statement about when to use this versus oportunidade_get (single record) or contato_list, so an agent must infer the routing.

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