Skip to main content
Glama
erp-mcp-server

erp-mcp-server

Desempenho comercial por vendedor

sales_performance
Read-onlyIdempotent

Retrieve per-seller sales performance metrics including active leads, open pipeline value, closed sales, revenue target, and attainment percentage for a specified month.

Instructions

Por vendedor no pipeline comercial: leads ativos e valor em aberto, vendas fechadas no mês e valor, meta de faturamento (se cadastrada) e % atingido. Padrão: mês atual.

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

Input Schema

NameRequiredDescriptionDefault
yearNoAno (padrão: atual).
monthNoMês 1–12 (padrão: atual).
formatNoFormato da resposta: markdown (humano) ou json (máquina).markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world behavior. The description adds value beyond them by disclosing the return content and the conditional 'meta de faturamento (se cadastrada)' — i.e., the target field may be absent — plus the default-to-current-month scoping. It does not mention pagination or auth, which is a minor gap for a read-only report.

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 compact sentences, front-loaded with the resource and metric list, then the default scope. Every clause maps to something the agent needs: what is returned and the default period.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only reporting tool with three optional, fully documented parameters and no output schema, the description compensates well by listing the returned metrics and noting the optional target field. Only sibling-routing and edge cases (empty data, no target registered beyond the parenthetical) are left implicit.

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 100%, so year, month, and format are fully documented in the schema itself. The description's 'Padrão: mês atual' merely restates the schema defaults and adds no new semantics (e.g., timezone or range behavior). Baseline 3 applies.

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 states a specific resource (per-salesperson commercial performance) and enumerates the metrics returned: active leads, open value, closed sales and value, revenue target, and % achieved. This is clearly distinguishable from a generic pipeline overview, though it never names a sibling tool to route against.

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?

Usage is only implied by the content — it is obviously a reporting tool for the current or specified month. There is no explicit guidance on when to pick this over crm_pipeline_overview or financial_summary, and no exclusions or prerequisites are stated.

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