Skip to main content
Glama

Get x402 service

x402_get_service
Read-only

Check a service's live status, uptime, response time, networks, settlement asset, and every priced endpoint before committing. Optionally include 90 days of on-chain volume and buyer data.

Instructions

Call this once you hold a slug and are deciding whether to commit to that service: the full record behind a directory row. Live status, uptime over 24h/7d/30d/90d, average response time, networks and settlement asset, every priced endpoint, and the assessment block. include_series=true adds 90 daily points of on-chain volume and distinct buyers. Read the units map in the response: the per-endpoint price field is atomic token units, not dollars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesService slug, e.g. 'my-api'.
include_seriesNoIf true, also attach this service's daily on-chain series under `series` (settlement volume and distinct buyers, one point per UTC day over the most recent 90 days, oldest first). Off by default to keep the response small.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.5.1

TDQS

A4.1/5.0
Behavior4/5

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

The readOnlyHint and openWorldHint annotations already cover the read-only nature, and the description adds meaningful behavioral detail beyond that, such as the optional include_series behavior and the important units-map warning that prices are atomic token units, not dollars.

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?

The description is compact and front-loaded with the purpose and use case. It lists response contents efficiently and keeps the optional-series explanation brief, though the phrasing is slightly awkward in places.

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?

With no output schema provided, the description supplies a useful inventory of the response fields and flags the key units caveat. It is sufficient for an agent to understand what it will receive, though 'assessment block' is mentioned without explanation.

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 description restates what the schema already explains for slug and include_series without adding significant new meaning beyond the schema text itself.

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?

The description clearly states the action: retrieve the full service record for a given slug, and it lists the key contents (status, uptime, response time, networks, endpoints, assessment). It also frames the intended moment of use ('once you hold a slug and are deciding whether to commit'), which differentiates it from search or health-check siblings.

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 description tells the agent when to call it: after obtaining a slug and before committing to a service. It implies this is the comprehensive lookup rather than a lighter health check, though it does not explicitly contrast with x402_check_health or x402_find_best_service.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcccsm/x402-list-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server