Skip to main content
Glama

vega_api_call

Universal Dynamic API Caller. Invoke ANY Vega Platform endpoint dynamically (even newly created ones) by specifying the HTTP method, path, and parameters. Transparently manages Bearer JWT authentication, query strings, and JSON request bodies.

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "vega_api_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request payload for POST, PUT, PATCH requests
pathYesRelative API endpoint path (e.g. "/api/devices/864540081293581", "/api/fleets", or "/v1/vehicles/current-location")
methodYesHTTP verb
paramsNoPath variables or URL query parameters as key-value pairs
confirm_destructive_actionNoSafety confirmation: Must be set to true if calling destructive endpoints (DELETE, immobilizer engine cut, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 behavioral burden, and it does disclose real traits: Bearer JWT auth is handled transparently, and query strings and JSON bodies are constructed from the arguments. What it omits matters for a tool that can issue DELETE or vehicle commands: no statement of return shape, error behavior, rate limits, or that mutations are irreversible — destructiveness is only mentioned inside the confirm_destructive_action schema field, not the description.

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?

Three tight sentences with the core capability front-loaded before the auth-handling detail. Slight redundancy between the 'Universal Dynamic API Caller' label and the following 'Invoke ANY ... endpoint' sentence, but no filler.

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 high-privilege generic caller with five parameters and no output schema, the description covers capability and auth but leaves the agent without return-format expectations, failure semantics, or a way to discover valid paths. Adequate to attempt a call, incomplete for calling it safely and 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 baseline is 3; each parameter already has a description including path examples and the destructive-confirmation rule. The description adds only the framing that params map onto query strings and JSON bodies, which is marginal beyond what the schema provides.

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 concrete verb and resource: invoke any Vega Platform endpoint by HTTP method, path, and parameters. The 'even newly created ones' clause clarifies it is a generic escape hatch rather than a fixed operation. It stops short of naming the dedicated siblings (e.g. vega_list_devices) that this tool substitutes for, so differentiation is left to inference.

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?

'Invoke ANY endpoint dynamically (even newly created ones)' implies this is the fallback for endpoints without a dedicated tool, but that condition is never stated explicitly. No when-not guidance, no pointer to vega_search_endpoints for discovering paths, and no caution about preferring typed siblings. Enough to infer usage, not enough to route confidently.

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