Skip to main content
Glama
WarToolsAI MCP Server

WarToolsAI MCP Server

time.add

Adds or subtracts minutes, hours, days, weeks, or months from a base timestamp, letting you calculate future or past dates and times in a chosen timezone.

Instructions

Add or subtract minutes, hours, days, weeks, or months from a base timestamp.

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": {
      "amount": "<amount>",
      "unit": "<unit>"
    },
    "name": "time.add"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitYes
amountYes
baseDateNo
timezoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/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 and leaves substantial gaps: it never states that subtraction is achieved via a negative amount, what happens if baseDate is omitted, whether timezone affects the arithmetic or only the formatting, or how month-end/DST edge cases behave. Only the basic mutation semantics ('add or subtract' to a timestamp) are conveyed.

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?

A single front-loaded sentence with zero filler; the operation and supported units come first. It is efficient, though its brevity is partly the cause of the semantic gaps noted elsewhere.

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

Completeness2/5

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

For a four-parameter tool with no annotations, no output schema, and no schema descriptions, the definition is under-specified. An agent could call it for simple cases but would be guessing on timezone behavior, baseDate defaults, and negative-amount subtraction.

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 description coverage is 0%, so the description must compensate for four undocumented parameters. It implicitly covers unit (by listing allowed values) and hints that amount can be negative, but timezone is never mentioned and baseDate's default and expected format are unstated, leaving two of four parameters essentially unexplained.

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 ('add or subtract') and resource (a base timestamp) and enumerates the supported units, so the operation is unmistakable. It does not distinguish itself from siblings like time.diff or time.convert_tz, but the arithmetic nature of the tool is clear enough that confusion is unlikely.

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 contains no when-to-use guidance, no prerequisites, and no mention of alternatives such as time.diff for computing a span or time.convert_tz for zone shifts. An agent must infer the usage context from the name and the sibling list.

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