Skip to main content
Glama

Time Format

time_format

Format an ISO 8601 datetime using a strftime pattern.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a pure transformation but never states that it is side-effect free, how it handles invalid patterns or malformed datetimes, or what it returns — all of which matter for a formatting utility.

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 no filler, which is appropriate for a simple utility. It is arguably too terse — one clause about the return value or error handling could be added without bloat.

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?

With no annotations and no output schema, the description should cover more: it never says the result is a formatted string, nor how timezone or invalid-format errors are handled. For a pure utility this is minimally adequate but leaves real gaps.

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 schema has 0% description coverage and the single parameter is a nested object with two unnamed-by-schema-meaning fields. The description compensates well by specifying 'ISO 8601' for datetime and 'strftime pattern' for pattern, adding real semantics beyond the bare 'string' types.

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 gives a specific verb (format) and resource (an ISO 8601 datetime via a strftime pattern), so an agent can immediately tell this transforms a timestamp into a formatted string. It does not, however, explicitly distinguish itself from close siblings like time_humanize or time_convert.

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?

There is no statement of when to use this tool versus alternatives such as time_convert, time_humanize, or time_parse, and no preconditions are given. The agent must infer usage purely from the tool name and one-line purpose.

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.