Skip to main content
Glama

keldrin

Market context for a token

get_market_context
Read-only

US session now (open/pre/after/closed/weekend/holiday), next open/close, the latest Chainlink NAV read live with round id and age, staleness (fresh / expected_closed / unexpectedly_stale), and the main DEX price with its gap vs NAV. The NAV is the last published reference, not a live equity price.

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": {
      "token": "<token>"
    },
    "name": "get_market_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesToken contract address (0x…) or exact Coinbase symbol, e.g. NVDAc. Addresses are preferred.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true), so the description's job is to add operational context, and it does: it discloses that NAV is the last published reference rather than a live equity price, and that staleness resolves to fresh / expected_closed / unexpectedly_stale. That is meaningful semantic context an agent could not get from the schema. It omits anything about failure modes for unknown tokens or latency, keeping it below a 5.

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?

It is one dense sentence, but every clause earns its place by naming a distinct returned field, and the important caveat about NAV being a published reference closes it out. It is front-loaded and free of filler, though the list-like phrasing is slightly harder to scan than a structured breakdown would be.

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, the description carries the burden of describing return values, and it does so field by field including session state, NAV round id and age, and DEX gap. Combined with a fully documented single parameter and read-only annotations, an agent has enough to call it correctly. Only edge behavior for invalid or unknown tokens is unaddressed.

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 a single parameter with 100% schema description coverage, and the schema already explains that it accepts a 0x contract address or exact Coinbase symbol with addresses preferred. The description adds no further parameter meaning, so the baseline of 3 for fully documented schemas 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?

The description enumerates exactly what the tool returns: US session state, next open/close, latest Chainlink NAV read with round id and age, staleness classification, and the main DEX price with its gap to NAV. That is far more specific than the title and makes the payload unambiguous. It stops short of explicitly contrasting itself with siblings like get_market_session or get_dex_price, so it lands at 4 rather than 5.

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?

There is no explicit when-to-use or when-not-to-use statement and no named alternative. Usage is only implied by the fact that it bundles session, NAV and DEX gap into one call, so an agent must infer that this is the aggregate context tool versus the narrower siblings.

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