Skip to main content
Glama

SiftingIO market data (x402)

Previous close

get_last_close
Read-only

Previous close price of any forex pair, cryptocurrency, US stock or commodity, e.g. AAPL, BTCUSD, EURUSD, XAUUSD. Stocks: official session close; crypto, forex and commodities: price at 00:00 UTC. Costs $0.005 USDC per call, paid with x402 on Base; failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
venueYesMarket venue for previous close. DEX has no previous-close product; commodities does (unlike the live trade/quote venues).
symbolYesSymbol, normalized to the venue's canonical form.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already declaring the safety profile, the description still adds real behavioral context that structured fields cannot: exact cost ($0.005 USDC per call), payment rail (x402 on Base), and that failed calls are not charged. It also discloses the materially different definition of 'close' per venue class, which affects interpretation of results. Missing only operational detail like rate limits or latency.

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?

Three dense sentences with no filler: scope and examples first, then the venue-dependent definition, then pricing. Structure is front-loaded correctly, though the pricing clause could be split or shortened for faster scanning.

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?

For a two-parameter, fully documented read tool with no output schema, the definition covers scope, venue semantics, and cost. The one remaining gap is that with no output schema present, it never says what the response looks like (a bare price value vs an object with timestamp or currency), which an agent must know to handle 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 100% and the venue description already covers the DEX/commodities nuance, so the schema does the heavy lifting. The description adds a useful mapping of venue to close definition (official session close vs 00:00 UTC), but it does not clarify how the symbol is normalized or what a canonical form looks like, leaving that entirely to the schema example.

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 resource and verb semantics ('Previous close price of any forex pair, cryptocurrency, US stock or commodity') and enumerates the covered venues with concrete examples (AAPL, BTCUSD, EURUSD, XAUUSD). The agent can tell this apart from live quote/trade siblings because the description frames it strictly as a prior-session/00:00 UTC point value.

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 rather than stated: the agent can infer 'use this when you need a prior close', and the venue semantics (official session close for stocks, 00:00 UTC for crypto/forex/commodities) hint at when this is the right product. However, it never names an alternative such as the live quote/trade or EOD siblings, nor does it state a when-not condition.

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