Skip to main content
Glama

Abstract API MCP by usefulapi

Convert time between locations

abstractapi_convert_time
Read-onlyIdempotent

Convert a date and time from one location to another (places, coordinates or IP addresses). Without base_datetime the current time is converted. Timezone API. Spends 1 credit of your Timezone plan per request (a failed request counts too); needs the Timezone API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base_datetimeNoThe time to convert, yyyy-mm-dd hh:mm:ss in the base location (default: now).
base_locationYesThe location the time belongs to.
target_locationYesThe location to convert the time into.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely useful operational context the annotations do not: one credit consumed per request, failed requests still billed, and a Timezone API key requirement.

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?

Four short sentences, front-loaded with the core conversion behavior and constraints. The standalone 'Timezone API.' fragment is slightly wasteful but harmless, and nothing important is buried.

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 3-parameter read-only tool with no output schema, the definition covers purpose, default behavior, billing, and auth. The only real gap is the shape of the returned converted datetime, which the absence of an output schema makes less critical.

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%, so the baseline is 3, but the description adds meaning the schema lacks by clarifying what a 'location' can be (place name, coordinates, or IP address). It does not, however, elaborate on the datetime pattern or the maxLength bounds.

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 and resource ('Convert a date and time from one location to another') and broadens the input space to 'places, coordinates or IP addresses.' It does not explicitly distinguish itself from the sibling get_current_time, which the default-to-now behavior superficially overlaps with, so sibling differentiation is only implicit.

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?

The description explains the fallback ('Without base_datetime the current time is converted') and the cost/credential requirements, which implies when this tool applies. However, it never states when to prefer it over get_current_time or how it relates to the other timezone siblings, leaving alternative selection to inference.

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.