Skip to main content
Glama

market_open

Is this exchange open right now? Whether a named venue is trading at a given instant, with local time and the next holiday, so an agent never trades a closed market. Price $0.015 USDC, charged from your prepaid credits. A key is required: without one the call is refused, because the upstream purchase is real.

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": {
      "exchange": "<exchange>"
    },
    "name": "market_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoISO timestamp; now when omitted
exchangeYesExchange code, e.g. NYSE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the $0.015 USDC cost charged to prepaid credits, that an API key is mandatory, and that calls are refused without one because the upstream purchase is real. It omits error behavior for unknown exchange codes and any rate/credit-exhaustion semantics.

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?

Front-loaded with the core question, then cost, then auth — a sensible ordering with no filler. Slightly verbose in the closing justification clause, but every sentence contributes information an agent needs.

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 lookup with no output schema, the description covers return content, cost, and auth prerequisites, which is most of what's needed. It leaves the failure/error surface for invalid exchange codes unspecified.

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% with both parameters fully documented, including the 'now when omitted' default for `at`, so the schema does the heavy lifting. The description only gestures at time ('at a given instant') and adds no format or validation detail beyond the schema.

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 names the exact question answered ('is this exchange open right now?') and the resource ('a named venue ... trading at a given instant'), plus what comes back (local time, next holiday). An agent can tell this is a market-status lookup and nothing like the payment/token/trending 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?

It gives a clear triggering context with 'so an agent never trades a closed market,' which tells the agent to check before any trade. It does not state exclusions or name an alternative tool, so it stops short of full when/when-not guidance.

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