Skip to main content
Glama

Obter dados da instância específica por código identificador da instância da solicitação

zeev_get_instances_by_instanceid
Read-onlyIdempotent

Retrieves detailed data for a specific Zeev request instance by its ID, optionally including form fields, pending tasks, and assignees for workflow tracking.

Instructions

Obter dados da instância específica por código identificador da instância da solicitação https://kb.stoque.com.br/zeev/apis/all/instances/consult Endpoint: GET /api/2/instances/{instanceid} 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": {
      "instanceId": "<instanceId>"
    },
    "name": "zeev_get_instances_by_instanceid"
  }
}

Input Schema

NameRequiredDescriptionDefault
useCacheNoIndicação se a consulta pode vir do cache Local: query
instanceIdYesCódigo identificador da instância da solicitação Local: path
formFieldNamesNoCampos do formulário que devem ser retornados na consulta. Para mais de um, repita o parâmetro para cada campo a ser retornado. Local: query
showPendingAssigneesNoIndicação se devem ser listados os responsáveis pelas tarefas pendentes da solicitação nesse momento Local: query
showPendingInstanceTasksNoIndicação se devem ser listadas as tarefas pendentes da solicitação nesse momento Local: query
showFinishedInstanceTasksNoIndicação se devem ser listadas as tarefas finalizadas da solicitação nesse momento Local: query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds only the endpoint path, the documentation link and the category, with no mention of caching behavior, response shape or any failure modes beyond what the schema already states for useCache.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loaded, but the opening sentence duplicates the title verbatim and the trailing 'Categoria' line contributes little operational value. The endpoint and link are the only genuinely useful additions.

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 6-parameter retrieval tool with no output schema, so the description should convey what an instance record contains and how the visibility flags affect the response. Instead it only points at an external knowledge-base link, leaving the agent without any in-definition description of the returned data.

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% and every parameter, including useCache, formFieldNames, showPendingAssignees and the task-visibility flags, is documented in the schema itself. The description adds no additional meaning about parameter interaction or defaults, so the baseline of 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 description names a specific verb and resource: fetch data for one specific instance identified by its instance ID, and it supplies the concrete endpoint GET /api/2/instances/{instanceid} plus the category 'Instances'. This distinguishes it from the sibling zeev_get_instances (a listing tool), although the first line is essentially a restatement of the title.

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 explicit guidance on when to use this tool versus alternatives such as zeev_get_instances or zeev_get_messages_instance_by_instanceid. The single-instance endpoint path implies the retrieval scope, but the agent is left to infer when this tool is preferred and what prerequisites exist.

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