Skip to main content
Glama

fluig_process_error_log

Inspect forensic error logs for a stuck or missing Fluig process instance to identify what the engine attempted and the payload involved.

Instructions

FORENSE de solicitação travada: o que o motor tentou executar e com qual payload (PROCES_WORKFLOW_ERROR_LOG). É a primeira parada quando uma solicitação "sumiu" ou parou sem explicação. ⚠️ Passa por fluig_db_query, que grava dataset no servidor — em env="prod" exige confirm=true.

Input Schema

NameRequiredDescriptionDefault
envYesOBRIGATÓRIO. Ambiente alvo: "teste" (homologação, o host de FLUIG_HOST) ou "prod" (PRODUÇÃO REAL, o host de FLUIG_HOST_PROD). Não há default: a escolha é sempre explícita, para que ninguém leia homologação achando que é produção nem escreva em produção achando que é teste.
confirmNoobrigatório em env="prod"
processInstanceIdYesid da solicitação

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.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 burden and does meaningful work: it discloses that the tool passes through fluig_db_query, which persists a dataset on the server, and that env="prod" requires confirm=true. That side-effect warning is exactly the behavioral context an agent needs. It stops short of describing the return shape, but the critical write-side effect is covered.

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?

Dense but front-loaded: purpose, diagnostic trigger, then the safety warning, in three tight sentences with no filler. Slightly packed, but every sentence earns its place.

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 3-param, no-output-schema, no-annotation tool, the description covers what it does, when to reach for it, and the prod write/confirm caveat. Return format is unspecified but a reasonable agent can call it correctly.

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% and the env/confirm descriptions in the schema are already rich. The description restates the prod-confirm requirement rather than adding syntax or semantics beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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+resource: forensic of a stuck request — what the engine tried to execute and with what payload, naming the underlying PROCES_WORKFLOW_ERROR_LOG table. An agent clearly knows this is the error-log forensics tool. It hints at ordering ("primeira parada") but does not name specific siblings like fluig_process_history to distinguish itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"É a primeira parada quando uma solicitação 'sumiu' ou parou sem explicação" gives a concrete when-to-use trigger. No explicit when-not or named alternatives, but the diagnostic scenario is clear enough to route correctly.

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

Deploy Server

Other Tools