Skip to main content
Glama
schwab-mcp

schwab-mcp

by HGZ-20

Get Market Hours

get_market_hours
Read-onlyIdempotent

Check exchange trading hours and holiday status for specified markets and date to determine whether trading is open.

Instructions

Check exchange trading hours and holiday status for specified markets.

Args: markets: Comma-separated list from 'equity', 'option', 'bond', 'future', 'forex'. date: Optional YYYY-MM-DD date (defaults to today).

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": "get_market_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
marketsNoequity,option

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered without the description. The description does add useful behavior context by naming 'holiday status' as an output dimension and noting the date defaults to today. It stops short of describing timezone handling or what a market's session boundaries look like, leaving a modest gap.

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?

One purpose sentence followed by a compact Args block; every line conveys callable information with no filler or repetition. The purpose is front-loaded before parameter detail, matching how an agent scans a definition.

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?

A low-complexity read-only tool with an output schema, and the description documents both parameters including format and allowed values. The only meaningful omissions are the markets default value and the timezone basis for the returned hours, neither of which blocks a correct call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and largely does: it enumerates the five accepted market tokens ('equity', 'option', 'bond', 'future', 'forex') and specifies the date format YYYY-MM-DD, neither of which the schema encodes. It omits that markets is optional with a schema default of 'equity,option', which could mislead an agent into thinking the parameter is required, so it falls short of a 5.

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?

States a specific verb and resource pair: 'Check exchange trading hours and holiday status for specified markets.' An agent immediately knows this returns schedule/holiday information rather than quotes or movers. No sibling differentiation is offered, though no sibling in the listed catalog overlaps this capability, so the gap is mostly theoretical.

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?

The description says what the tool does but never says when to reach for it, e.g. before placing an order, or that it should not be used for real-time price data. There are no exclusions, no prerequisites, and no mention of alternatives. Usage must be inferred entirely from the purpose sentence.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.