Skip to main content
Glama
VanguardIA-Tech

ahreas-mcp

Executar Metodo

executar_metodo

Run Ahreas ERP web-service methods with installation credentials: reads execute directly; writes or uncertain calls require confirmar=true and enabled write permission.

Instructions

Executa um método do Ahreas com a credencial da instalação.

Leitura roda direto. Método que grava (ou de efeito incerto) exige confirmar=true, e escrita ainda depende de AHREAS_PERMITIR_ESCRITA.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nomeYesNome do método a executar.
confirmarNoObrigatório quando o método grava no ERP.
parametrosNoParâmetros do método (sem credenciais).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses credential use, read-versus-write behavior, a confirmation gate for writes and uncertain effects, and an environment-variable dependency. It omits error behavior, rate limits, and exact consequences when the write gate is disabled.

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 short sentences, front-loaded with the core action and immediately followed by the safety-gating rule. No filler or repetition.

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?

An output schema exists, so return values need not be explained. The description covers execution, credential scope, and write gating well, but omits discovery workflow guidance and details about the parametros object beyond what the schema provides.

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 100%, so the baseline would be 3. The description adds real meaning beyond the schema for confirmar by saying it is required for methods that write OR have uncertain effect, and by tying writes to AHREAS_PERMITIR_ESCRITA.

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: executes an Ahreas method with the installation credential. It is clearly distinct from discovery siblings like listar_metodos and descrever_metodo, but does not explicitly name those alternatives.

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?

Provides operational usage conditions for confirmar: reads run directly, while writing or uncertain methods require confirmar=true and still depend on AHREAS_PERMITIR_ESCRITA. However, it does not say when to choose this tool instead of siblings such as executar_acao_tela or importar_arquivo_em_tela.

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