Skip to main content
Glama

Retorna o JSON de exportação do serviço informado (Auth)

zeev_get_services_by_serviceid
Read-onlyIdempotent

Retrieve a service's export JSON by ID, optionally including its process XML and tutorial data for inspection, migration, or backup.

Instructions

Retorna o JSON de exportação do serviço informado (Auth) https://kb.stoque.com.br/zeev/apis/all/others/services Endpoint: GET /api/2/services/{serviceid} Categoria: Services / Serviços

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": {
      "serviceId": "<serviceId>"
    },
    "name": "zeev_get_services_by_serviceid"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceIdYesID do serviço que será exportado Local: path
flowContentsNotrue para retornar o XML de exportação do processo usado pelo serviço Local: query
tutorialContentsNotrue para retornar os dados do tutorial configurado para o serviço selecionado Local: query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the concrete endpoint path and the auth requirement, which is useful context, but it does not say what the exported JSON contains, whether large flow XML payloads can be returned, or whether repeated calls are safe/costly -- all things the annotations do not convey.

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 text is short and front-loaded, but the first line simply repeats the title verbatim, and the trailing 'Categoria: Services / Serviços' line contributes little actionable information. The raw documentation URL is arguably useful for reference, but overall a third of the content is boilerplate rather than guidance.

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-only GET with one required parameter and full schema coverage, the definition is minimally sufficient to invoke correctly. However, there is no output schema, and the description never characterizes the export JSON (service configuration plus optional flow XML and tutorial data), so an agent cannot anticipate response contents or size.

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%, with each of the three parameters (serviceId, flowContents, tutorialContents) documented in the schema including their path/query location. The description only echoes the serviceId concept through 'serviço informado' and adds no semantics about the optional flags or how they change the response size and shape.

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 states a specific verb and resource: it returns the export JSON for the service identified by serviceId, and it pins the exact endpoint GET /api/2/services/{serviceid}. That is enough for an agent to distinguish it from the import sibling (zeev_post_services_import), but it never explicitly names what it is not, and it does not explain how the payload differs from zeev_get_requests_services.

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 statement, no when-not-to-use statement, and no mention of what alternatives exist for retrieving service data. The only contextual cue is the '(Auth)' marker in the title, which hints that authentication is required but does not say how to obtain or supply credentials.

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