Skip to main content
Glama

Cuelark Data

Time difference

time_difference
Read-onlyIdempotent

Time difference right now between two cities or IANA time zones, with both local times.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "time_difference"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior: the result is computed at the present moment and includes both local times, which is the key thing an agent needs to interpret the response in the absence of an output schema.

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?

A single front-loaded sentence with no filler; every clause (operation, temporal scope, accepted input types, returned content) earns its place.

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?

For a simple two-parameter lookup with no output schema this is close to adequate, since it discloses both the input formats and the returned local times. It stops short of stating the direction/sign convention of the difference or what happens with ambiguous or invalid zone inputs.

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 0%, so the description carries the burden; it partially compensates by stating that each side accepts either a city name or an IANA zone identifier. It does not clarify which parameter is the origin versus the target, nor the sign/direction convention of the returned difference.

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 names a specific operation ('Time difference') and its operands ('between two cities or IANA time zones'), so an agent knows exactly what is computed. It doesn't explicitly contrast with the sibling city_time, but the resource and output ('both local times') make the distinction inferable.

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?

'right now' implicitly scopes usage to the current instant, ruling out historical or future comparisons, which is a useful usage boundary. However, there is no explicit guidance on when to prefer this over city_time, nor any note about prerequisites or invalid-input behavior.

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