Skip to main content
Glama
erp-mcp-server

erp-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ERP_EMAILYesEmail of the ERP user the server logs in as.
ERP_BASE_URLYesBase URL of the ERP HTTP API. No default fallback; the server refuses to start a session against http:// unless the host is localhost.
ERP_PASSWORDYesPassword of the ERP user the server logs in as.
ERP_SCHEMA_FILENoOptional path to a JSON file that overrides route and table names (only what differs from the generic defaults).
ERP_ENABLE_WRITESNoSet to true to register the three write tools (crm_create_lead, crm_add_note, whatsapp_send); writes are opt-in.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
crm_pipeline_overviewA

Resumo do funil de um pipeline: número de leads e valor total por fase, mais o total geral. Pipelines: comercial (padrão), marketing, cs, financeiro.

crm_list_leadsA

Lista leads com filtros (pipeline, fase, dono, inadimplência, busca por nome/empresa). Ordenado do mais recente. Paginação por cursor: passe before_created_at com o valor do próximo cursor.

crm_lead_detailsB

Todos os campos de um lead + histórico de atividades + parcelas de pagamento.

sales_performanceA

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.

financial_summaryA

Entradas, saídas e saldo do mês, com quebra por categoria, mais a lista de clientes inadimplentes. Padrão: mês atual.

marketing_overviewB

Contas de anúncio conectadas, campanhas e KPIs agregados dos últimos 30 dias (gasto, impressões, cliques, conversões, CTR, CPL). Puxa do endpoint de marketing do ERP (Meta/Google Ads).

whatsapp_recentA

Últimas conversas de WhatsApp da empresa, mais recentes primeiro. Devolve o id de cada conversa, necessário para responder com whatsapp_send.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 7 tools

Disambiguation4/5

The tools mostly target distinct resources: lead details, lead listing, pipeline overview, sales performance, finance, marketing, and WhatsApp. There is some potential overlap between sales_performance and crm_pipeline_overview, but the descriptions clarify that one is seller-level performance and the other is pipeline-stage aggregation.

Naming Consistency4/5

All tool names use snake_case and generally follow a module_topic pattern. Minor inconsistencies exist: crm_list_leads uses a verb within the CRM prefix, while most others use noun-style module names, and some domains omit a shared prefix.

Tool Count5/5

Seven tools is a well-scoped set for an ERP-style analytics and CRM overview server. Each tool appears to cover a distinct domain area and none feel redundant or excessive.

Completeness2/5

The surface is almost entirely read-only summaries and lists, with no create/update/delete operations for CRM leads or other ERP entities. The whatsapp_recent description references whatsapp_send, which is not present, creating an obvious dead end and significant gap for agent workflows.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues