Skip to main content
Glama
WarToolsAI MCP Server

WarToolsAI MCP Server

time.diff

Calculates exact elapsed duration between two ISO-8601 timestamps, returning the time difference for scheduling, logging, or interval analysis.

Instructions

Calculate exact elapsed duration between two ISO-8601 timestamps.

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "time.diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Exact elapsed' hints at absolute duration, but it does not disclose the return representation, timezone/DST handling, whether a reversed start/end yields a negative value, or whether calendar units are included — all material for a calculation tool.

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 zero filler; the input-format constraint is stated before any elaboration, so an agent can parse the core purpose immediately.

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 small two-argument utility with no output schema, the description covers the purpose but omits the result format (ISO-8601 duration vs. seconds vs. broken-down units) and timezone assumptions, which an agent needs to use the result correctly.

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

Parameters2/5

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

Schema coverage is 0% and both parameters are bare `{"type":"string"}` entries. The description usefully supplies the ISO-8601 format, but never explains which parameter is the earlier/later bound, whether order matters, or how inverted ranges are treated, leaving real ambiguity for a two-required-param tool.

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 verb ('Calculate') and a precise resource ('exact elapsed duration between two ISO-8601 timestamps'), which is clearly distinct from time.add or time.now. It stops short of naming any sibling to differentiate against, so it lands at 4 rather than 5.

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 only implied by the phrase 'between two ISO-8601 timestamps' — there is no explicit statement of when to pick this over time.add (shifting a timestamp) or time.now (current time). No exclusions, prerequisites, or edge-case guidance are given.

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

This server cannot be deployed

Other Tools