Skip to main content
Glama

Call an API operation

call_operation

Execute any Descovo API operation by operationId.

IMPORTANT:

  • apiKey is NOT required in the body if the MCP client sends an x-api-key header (most configs do). The backend auto-injects it.

  • Prefer search_endpoints() first when operation choice is ambiguous.

  • Use get_endpoint_details_full(operationId='...') first for complex/nested parameter shapes.

Args: operationId: The operation ID to call params: Parameters dict: {"body": {...}, "path": {...}, "query": {...}}

Returns: API response data or error details.

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": {
      "operationId": "<operationId>"
    },
    "name": "call_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
operationIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare that the tool is non-read-only, open-world, non-idempotent, and not destructive. The description adds useful context about authentication behavior and return/error results, including that the backend can auto-inject an apiKey when sent via header. It does not elaborate on side effects or rate limits, but the annotation coverage reduces that burden.

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

Conciseness5/5

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

The definition is front-loaded with the core action, followed by important usage and auth notes, then Args and Returns sections. Every sentence contributes practical information for invoking a generic API-operation dispatcher. There is no redundant restatement of the title.

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 generic operation-calling tool, the definition covers the essential workflow: resolve ambiguity via search_endpoints, inspect complex schemas via get_endpoint_details_full, provide operationId, and structure params. It also notes auth behavior and return/error results. Because an output schema exists and annotations cover safety traits, the remaining gaps are minor rather than blocking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: operationId means the operation ID to call, while params is described as a dictionary split into body, path, and query objects. This adds substantial meaning beyond the bare schema property names. The structure directly helps an agent construct a valid generic API call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: execute any Descovo API operation by operationId. It clearly distinguishes this generic executor from lookup-oriented siblings such as search_endpoints and get_endpoint_details_full. An agent can understand the tool's role without opening the schema.

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

Usage Guidelines5/5

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

It explicitly directs the agent to use search_endpoints first when operation choice is ambiguous and get_endpoint_details_full first for complex or nested parameter shapes. These are concrete alternatives with named conditions, not implied guidance. It also clarifies that an apiKey header may remove the need to pass a key in the body.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources