Skip to main content
Glama

fluig_process_states_detail

Retrieves detailed destination states (name and type) available from the current state of a Fluig process instance, using the specified test or production environment.

Instructions

Estados-destino COM detalhe (nome/tipo) a partir do estado atual (getAvailableStatesDetail). Mais rico que fluig_process_states.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "processId": "<processId>",
      "processInstanceId": "<processInstanceId>",
      "env": "<env>"
    },
    "name": "fluig_process_states_detail"
  }
}

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.
processIdYesCOD_DEF_PROCES
threadSequenceNothreadSequence (opcional, default 0)
processInstanceIdYesiProcess

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.3.0
    • addedInput schema / properties / env
      Added value: +{
      +  "description": "OBRIGATÓ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.",
      +  "enum": [
      +    "teste",
      +    "prod"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / processId / description
      Previous value: -"Process id."New value: +"COD_DEF_PROCES"
    • changedInput schema / properties / processInstanceId / description
      Previous value: -"Instance number."New value: +"iProcess"
    • changedInput schema / properties / threadSequence / description
      Previous value: -"threadSequence (optional, default 0)."New value: +"threadSequence (opcional, default 0)"
    • changedInput schema / required
      Previous value: -[
      -  "processId",
      -  "processInstanceId"
      -]New value: +[
      +  "processId",
      +  "processInstanceId",
      +  "env"
      +]
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and it does very little: it never states that this is a read-only lookup, never mentions that the env parameter can target PRODUCTION, and says nothing about permissions, failure modes, or result shape beyond the parenthetical "nome/tipo". The upstream call name (getAvailableStatesDetail) hints at a read, but that is inference, not disclosure.

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 short sentences, front-loaded with the resource and the differentiator, with zero filler. It is efficient, though the parenthetical upstream method name is mild noise for an agent that only sees the tool interface.

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 simple read lookup with full schema coverage and no output schema, the description is close to sufficient — it conveys what comes back (state name and type). It falls short on the production-vs-test environment risk and on the dependency on the instance's current state, which are the two things an agent could plausibly get wrong.

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 description coverage is 100%, so processId, processInstanceId, threadSequence and env are already documented in the schema, which sets the baseline at 3. The description adds nothing about any of them — notably it never reinforces that env must be chosen explicitly and can hit production, which is the riskiest parameter here.

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 names a concrete resource (destination states) and the specific detail it adds (name/type) relative to the current state, and it explicitly contrasts with the sibling fluig_process_states. It does not, however, distinguish itself from other close siblings like fluig_process_active_states, fluig_process_available or fluig_process_def_states, which an agent would still need to disambiguate on its own.

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?

"Mais rico que fluig_process_states" gives an implied selection rule: pick this one when you need name/type detail, the plain one otherwise. That is useful but only implicit — there is no explicit when-to-use/when-not statement, no prerequisite about a valid processInstanceId being in a movable state, and no mention that the result depends on the current state.

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