Skip to main content
Glama

Block Relations

Get market data

market_data
Read-onlyIdempotent

Market metrics for tracked assets, or one asset by slug. Every asset carries price_as_of, the time its price was last refreshed; some prices are days or months old. Costs 2 credits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "market_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond them: price_as_of semantics with the warning that some prices are days or months old, plus a concrete cost of 2 credits. That stale-data warning and credit price are exactly the traits an agent needs before deciding to 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 short sentences, front-loaded with the resource and scope, then the freshness caveat, then the cost. No filler or redundant restatement of the title.

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 and only one optional parameter, the description covers the essentials: what is returned (market metrics), the freshness field to check, and the credit cost. It does not say which metrics are included or what happens with an unknown slug, which are the remaining minor gaps.

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?

There is one optional parameter with 0% schema description coverage, so the description must carry the meaning. It does explain that slug selects a single asset rather than the full tracked list, but adds no format details (slug syntax, case, whether an invalid slug errors or returns empty). Partial compensation only.

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?

The description names a specific resource (market metrics) and its two scopes: all tracked assets, or a single asset via slug. The verb is only implied by the title ('Get'), but an agent can still tell what the tool returns and when it targets one vs many assets.

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 by stating the two modes ('tracked assets, or one asset by slug'), which gives a basis for choosing whether to pass slug. There is no explicit when-to-use vs. when-not, and none of the sibling tools are referenced, so routing guidance is minimal.

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