Skip to main content
Glama
aiordanescu

ib-gateway-mcp

by aiordanescu

Gateway server time

get_server_time
Read-only

Check the gateway's current time and clock skew to verify connectivity and prepare for time-sensitive requests like historical data or order good-till times.

Instructions

Return the gateway's current time and how far this server's clock is from it.

Useful as a cheap round-trip check that the gateway answers requests, and before time-sensitive requests (historical data end times, order good-till times). IBKR reports whole seconds, so a skew under a second or two is normal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
local_timeYesThis server's clock when the answer arrived (UTC).
server_timeYesTime reported by the gateway.
skew_secondsYeslocal_time minus server_time; IBKR reports whole seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds useful behavioral context beyond that: IBKR reports whole seconds)Skip and that a skew under a second or two is normal, helping an agent interpret results correctly. No contradiction with annotations.

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?

Three tight sentences: the first states what the tool returns, the second gives practical use cases, and the third provides a calibration caveat. Every sentence earns its place and is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no parametersasi an output schema present, the description supplies exactly what an agent needs beyond structured metadata: purpose, use cases, and interpretation guidance. Nothing significant is missing.

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?

The tool has zero parameters and the schema coverage is 100%, so there is nothing for the description to clarify. As per baseline for zero-parameter tools, a 4 is appropriate.

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 states a specific verb ('Return') and a precise resource: the gateway's current time plus clock skew. This is unique among the sibling toolsebb and immediately tells an agent what the tool provides.

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?

Clear guidance on when to use the tool: as a cheap round-trip health check and before time-sensitive requests such as historical data end times or good-till times. It does not explicitly name alternatives or exclusions, but the context is strong enough for correct selection.

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