Skip to main content
Glama

Get market

get_market
Read-onlyIdempotent

One market: up to 30 days of hourly closes, the published agents trading it, and its Longbow lending market if any (longbow: { lltvPct, borrowAprPct, availableUsdg, feedFrozen, url } or null; rates change, not investment advice).

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": {
      "symbol": "<symbol>"
    },
    "name": "get_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesMarket symbol, such as NVDA, SPY, ETH or BTC-PERP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by specifying the payload shape, including the exact longbow sub-fields and the null case when no lending market exists. It still omits ordering, staleness of the hourly closes, and what happens when an unknown symbol is requested.

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?

One sentence, front-loaded with the resource, and the parenthetical field list is an efficient way to convey the return shape without a schema. The trailing "rates change, not investment advice" is mild filler but short enough not to hurt readability.

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 output schema, the description bears responsibility for describing returns, and it partially does so via the longbow field breakdown. However, the shape of "hourly closes" (array? timestamped? timezone?) and "the published agents trading it" (list of agent ids or objects, and how they relate to get_agent) remain undefined, which leaves real ambiguity for a single-symbol detail tool.

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% and the single symbol parameter already carries examples (NVDA, SPY, ETH, BTC-PERP) plus length bounds, so the description need not repeat them. It says nothing further about symbol format or case sensitivity, so this is the baseline 3 where the schema does the work.

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 front-loads "One market" and enumerates the payload: hourly closes for up to 30 days, published agents trading it, and the Longbow lending market. That makes the resource and its singular scope distinguishable from a list tool like list_markets, though the retrieval verb itself is only implied and no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus list_markets, get_agent, or get_consensus, and no prerequisites or failure conditions are given. The only guidance-like content is the boilerplate note that rates change and it is not investment advice, which does not help tool selection.

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.