Skip to main content
Glama

VegaGPS Fleet Telematics MCP

Call Fleet API

vega_api_call
Destructive

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

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and non-idempotent, so the risk profile is covered structurally. The description does add genuinely new behavior — Bearer JWT authentication, query-string assembly and JSON body encoding are handled transparently — but says nothing about response shape, error behavior, rate limits, or what a failed/unauthorized call returns. The destructive-action warning lives only in the schema, not in the prose.

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?

Two sentences, zero waste, with the identity of the tool front-loaded before the auth detail. Nothing could be removed without losing information.

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 universal passthrough with no output schema, the description should say what a response looks like and how errors surface — that gap matters more here than for a typed tool. Auth handling is covered, but discovery of valid paths and the destructive-action protocol are left to the schema and siblings.

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; the schema already documents method enum, path examples, params and confirm_destructive_action. The description only restates that parameters map to query strings and JSON bodies, adding little beyond the schema's own 'Path variables or URL query parameters as key-value pairs' wording.

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?

States a specific verb (invoke) and resource (any Vega Platform endpoint), plus the defining trait 'dynamically (even newly created ones)' that separates it from the typed vega_get_* / vega_list_* siblings. An agent can tell this is the generic escape hatch 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 Guidelines3/5

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

Usage is only implied: 'even newly created ones' hints this is a fallback for endpoints without a dedicated tool, but the description never says when to prefer a typed sibling or when to fall back here. It also never points to vega_search_endpoints for discovering valid paths, which is the obvious prerequisite for a passthrough caller.

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.