Skip to main content
Glama
Caravan MCP

Caravan MCP

by OJ-IRO

Inspect one x402 service

get_service

Fetches full details for a discovered service, including exact price, required input format, and an example output so you can call it correctly.

Instructions

Get full details for a service found via discover_services: exact price, expected input (query params or JSON body) and example output.

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": {
      "url": "<url>"
    },
    "name": "get_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe service resourceUrl
networkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the returned payload (price, input shape, example output) and implies a read-only metadata lookup, but says nothing about cost of the inspection itself, whether it hits the live service, required auth, or failure modes for unknown URLs.

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?

A single sentence that front-loads the action and immediately qualifies the scope, with the return contents listed compactly. No filler or restatement of the title.

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?

With no annotations, no output schema, and one of two parameters undocumented, the definition is only partially self-sufficient. It communicates what comes back but leaves open whether the lookup is free, what errors occur for invalid URLs, and how 'network' changes the result.

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 50%: 'url' is documented while 'network' (an enum of mainnet/testnet) is undocumented and unmentioned in the description. The description adds no clarification of the url format ('service resourceUrl') or the effect of network, so for a two-parameter tool with a gap it does not fully compensate.

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 ('Get full details') and resource ('a service'), and names discover_services as the upstream sibling that produces the identifier. It also enumerates what the details consist of (exact price, expected input, example output), which cleanly separates it from call_paid_service, which would invoke rather than inspect.

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

Usage Guidelines4/5

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

The phrase 'for a service found via discover_services' clearly places this tool after discovery and before invocation, giving real context for selection. It stops short of an explicit exclusion (e.g., 'do not use this to actually call the service, use call_paid_service'), so there is no explicit when-not guidance.

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