Skip to main content
Glama

fluig_process_start

Starts a Fluig BPM process request by authenticating as the user, applying form data, and returning the new process instance ID.

Instructions

INICIA uma solicitação (startProcess SOAP). cardData={campo:valor} do formulário. choosedState=estado destino ao concluir o início (ex.: gateway seguinte). Autentica como o usuário (precisa do papel de início). Retorna {processInstanceId(iProcess), rows}.

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>",
      "choosedState": "<choosedState>",
      "env": "<env>"
    },
    "name": "fluig_process_start"
  }
}

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" (em homologação passa direto)
cardDataNo{campo:valor} — MANDE TODOS os campos do form (a API substitui o card, não faz merge)
commentsNocomentário (opcional)
processIdYesCOD_DEF_PROCES (ex: "PROC01 - Processo de exemplo")
choosedStateYesestado destino (nº do próximo nó/gateway)
colleagueIdsNopróximos responsáveis (opcional)
completeTaskNotrue=conclui e move (default); false=estaciona no início

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv1.3.0
    • changedInput schema / properties / cardData / description
      Previous value: -"{field: value} — send ALL fields; the API replaces the card, it does not merge."New value: +"{campo:valor} — MANDE TODOS os campos do form (a API substitui o card, não faz merge)"
    • changedInput schema / properties / choosedState / description
      Previous value: -"Target state (number of the next node or gateway)."New value: +"estado destino (nº do próximo nó/gateway)"
    • changedInput schema / properties / colleagueIds / description
      Previous value: -"Next assignees (optional)."New value: +"próximos responsáveis (opcional)"
    • changedInput schema / properties / comments / description
      Previous value: -"Comment (optional)."New value: +"comentário (opcional)"
    • changedInput schema / properties / completeTask / description
      Previous value: -"true (default) completes and moves; false parks on the start activity."New value: +"true=conclui e move (default); false=estaciona no início"
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "obrigatório em env=\"prod\" (em homologação passa direto)",
      +  "type": "boolean"
      +}
    • 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 (ex: \"PROC01 - Processo de exemplo\")"
    • changedInput schema / required
      Previous value: -[
      -  "processId",
      -  "choosedState"
      -]New value: +[
      +  "processId",
      +  "choosedState",
      +  "env"
      +]
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and partially meets it: it discloses the auth model (acts as the user, requires the start role) and the return shape {processInstanceId, rows}. It does not describe failure behavior, whether a card is created, or the irreversible consequences of starting an instance in production — a meaningful gap for a write tool with zero annotation coverage.

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?

Four dense sentences with no filler, front-loaded with the action verb and immediately followed by the two parameters most likely to be misused. The telegraphic style costs a little readability but nothing is wasted.

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 mutating tool with no output schema, the description usefully supplies the return contract {processInstanceId, rows} and the auth requirement, which the structured fields don't cover. The remaining gap is error/irreversibility semantics, but with three required params, an env enum, and a confirm flag all fully documented in the schema, an agent has enough to 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%, so the schema already documents all 8 parameters, establishing a baseline of 3. The description glosses cardData and choosedState, but choosedState's clarification ("estado destino ao concluir o início, ex.: gateway seguinte") largely repeats the schema's own wording, adding little beyond it.

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 ("INICIA uma solicitação") and maps it to the underlying SOAP call (startProcess), which pins down exactly which operation it is. It doesn't explicitly contrast itself with overlapping siblings like fluig_process_move or fluig_process_create, but the 'start a new request' framing makes the distinction inferable.

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?

"Autentica como o usuário (precisa do papel de início)" gives a real precondition for when the call will succeed. Beyond that, there is no guidance on when to choose this over fluig_process_move (advancing an existing task) or fluig_process_create, nor any exclusion conditions.

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