Skip to main content
Glama
MCP Server TS Starter
by opikdev

Get the current time

get_time
Read-onlyIdempotent

Returns the current date and time for a specified IANA time zone, defaulting to UTC when no time zone is provided.

Instructions

Returns the current date and time in an IANA time zone, such as Europe/Berlin.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
timezoneNoIANA time zone name. Defaults to UTC.UTC

Output Schema

NameRequiredDescriptionDefault
isoYes
localYes
timezoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, idempotentHint and closed-world scope, so the safety profile is covered. The description adds the IANA-zone scoping behavior and a format example, but says nothing about the value being a snapshot that changes between calls, which is worth stating given the idempotent annotation. An output schema exists, so return-shape detail is rightly omitted.

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 well-formed sentence with zero filler, front-loading the operation and its scoping constraint. Nothing could be removed without losing information.

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

Completeness4/5

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

For a one-optional-parameter read tool with full schema coverage, annotations, and an output schema, the description supplies everything needed to invoke it correctly. Only a note about the non-deterministic nature of the returned value 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?

Schema coverage is 100% and the schema already documents the timezone parameter and its UTC default. The description goes slightly beyond the schema by supplying a concrete example format ('Europe/Berlin'), which disambiguates what string shape is expected.

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 ('Returns') and resource ('the current date and time') and constrains it to an IANA time zone, so the operation is unmistakable. It does not explicitly contrast with siblings like whoami or search_docs, though those are far enough apart that no real ambiguity exists.

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?

Use is only implied by the purpose statement; there is no explicit when-to-use or when-not-to-use framing and no named alternative. For a trivial single-purpose tool that is largely adequate, but the agent gets no guidance on, e.g., when to call this versus deriving time locally.

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

Deploy Server

Other Tools