Skip to main content
Glama

Data To Agents

Call Service

call_service

Execute any catalog service by ID with arguments. Returns the service payload as text JSON plus structuredContent. Requires x402 payment in production.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYesArguments for the service, matching the service schema (see get_service_schema)
service_idYesThe service id to call, e.g. "au-property-crime"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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 burden, and it does add real value by disclosing the return shape ('text JSON plus structuredContent') and a production payment requirement ('x402 payment'). However, for a generic executor of arbitrary services it says nothing about idempotency, side effects, failure modes, or what happens if payment is missing.

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 short sentences, each earning its place: what it does, what it returns, and the payment constraint. The action is front-loaded. It could be marginally tighter, but there is essentially no waste.

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 compensates by describing the return payload. It also flags the x402 payment requirement, covering the key operational fact. Remaining gaps are error behavior and payment-flow specifics, which are minor for a tool whose parameters are fully documented.

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 both parameters (service_id, args) are already documented, including the pointer to get_service_schema. The description adds only the phrase 'with arguments' and adds no format, example, or constraint beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource ('Execute any catalog service by ID with arguments'), which clearly separates execution from the introspection siblings like get_service_schema and list_services. It stops short of explicitly naming the sibling it complements, so it is clear but not sibling-differentiating in the description text itself.

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: the mention of get_service_schema inside the schema hints that this is the execution step that follows schema retrieval. The description itself gives no when-to-use, prerequisites, or when-not guidance, so an agent must infer the workflow.

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