Skip to main content
Glama

call_service

Run any Vextorium service with its parameters and get the JSON result. Paid per call in USDC via x402 (price shown by service_details); invalid input, or a failed upstream source with no current data held, is not charged. Example: service='ecb-rates-history', params={"date": "2024-06-14", "from": "EUR", "to": "USD", "amount": 100}.

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": {
      "service": "<service>"
    },
    "name": "call_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNoJSON input of the service (see service_details)
serviceYesService id, e.g. 'iban-validate'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / service / examples
      Added value: +[
      +  "regex-test"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / params / additionalProperties / description
      Added value: +"Service-specific parameter value; use service_details to see the exact fields, types, and descriptions."
  3. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / params / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / service / description
      Previous value: -"Service id, e.g. 'gas-price'"New value: +"Service id, e.g. 'iban-validate'"
  5. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (openWorldHint, not idempotent, non-destructive), the description discloses the economically critical behavior: paid per call in USDC via x402, price discoverable via service_details, and no charge on invalid input or upstream failure with no data held. That billing and failure-charging semantics are exactly what an agent needs before invoking a paid, non-idempotent call.

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?

Three sentences, front-loaded with what the tool does, then cost/charging caveats, then a compact example. No filler; every sentence carries actionable information.

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?

No output schema exists, and the description only says the result is JSON without indicating that response shape is service-specific or where it is documented. Otherwise the definition is complete for a two-parameter dispatcher with a nested free-form params object.

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

Parameters4/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 description adds a concrete worked example showing the shape of 'service' plus a nested 'params' object with four fields, which makes the generic pass-through contract tangible. It still defers all per-service field semantics to service_details, which is reasonable for a dispatcher.

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 and resource ('Run any Vextorium service with its parameters') plus the outcome ('get the JSON result'). It is clearly a generic dispatcher, which distinguishes it from service_details/search_services, which are lookups rather than executions.

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 implied rather than stated: the agent learns that price and parameter fields come from service_details, but there is no explicit instruction to discover a service id via search_services first, nor any statement of when not to call this tool. The charging note gives useful context but is not usage routing.

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.