Skip to main content
Glama

Criar um novo subprocesso a partir de uma solicitação.

zeev_post_instances_subprocess

Creates a new Zeev subprocess from an existing parent request by submitting parent instance and element codes with optional form field values.

Instructions

Criar um novo subprocesso a partir de uma solicitação. https://kb.stoque.com.br/zeev/apis/all/instances/create Endpoint: POST /api/2/instances/subprocess Categoria: Instances / Instâncias de solicitações

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": {
      "body": "<body>"
    },
    "name": "zeev_post_instances_subprocess"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesDados para criar um subprocesso Local: body; nome na API: instancesEnvelope

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. Beyond that, the description adds only a documentation URL and a category label; it says nothing about what the call triggers in the workflow, whether repeated calls create duplicate subprocesses (consistent with the non-idempotent hint, but unexplained), or what permissions/state the parent must be in.

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?

The purpose is front-loaded in a single sentence, followed by a compact block of reference metadata (doc link, endpoint, category). The URL and category line are low-value but short, so nothing bloats the definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with a nested request body and no output schema, yet the description says nothing about the response (presumably a new instance identifier) or about the precondition that the parent instance must have a matching origin activity. The structured fields carry most of the load, leaving the description materially incomplete for the operation's complexity.

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 parentInstanceId, parentElementCode and the nested formFields are already fully documented in the schema. The description adds no clarification of how form field ids/rows map to the parent's electronic form, so the baseline 3 applies.

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 first line states a specific verb and resource: create a new subprocess from a request ("Criar um novo subprocesso a partir de uma solicitação"), and the endpoint line (POST /api/2/instances/subprocess) corroborates it. That is enough to distinguish it from the plain instance-creation siblings, but the description never explains how a subprocess differs from a normal instance, so the differentiation is implicit rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says when to call this instead of zeev_post_instances, nor that the parent request must have an active task element whose code is needed as input. The agent must infer the routing and prerequisites entirely from the name and schema.

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