Skip to main content
Glama

SMPTE timecode calculator

timecode_calculate
Read-only

Parse an SMPTE timecode at a frame rate (including 29.97/59.94 drop-frame) and report its frame count and real elapsed seconds; optionally re-express it at another rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoWhen converting rates: "time" keeps the same real-world moment (conform, default); "frames" keeps the frame count (reinterpret).
rateYesFrame rate the timecode is expressed in.
to_rateNoOptional target frame rate to convert to.
timecodeYesTimecode like "01:00:02:12" (use ";" before frames for drop-frame).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already disclose readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful output behavior (frame count and elapsed seconds) and mentions drop-frame support, but it does not describe edge cases, error handling, or the exact return structure, which are relevant since there is no output schema.

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?

The description is a single, tightly worded sentence that leads with the core parsing behavior, states the outputs, and then introduces the optional conversion. Every clause carries information with no filler.

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 moderately complex calculator without an output schema, the description names the main outputs and the optional conversion target. The schema fully covers parameter semantics, including drop-frame notation and mode behavior. It falls slightly short only by not giving an example or explaining invalid-input behavior.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema provides detailed descriptions for timecode, rate, to_rate, and mode, including enum values and the semantic difference between 'time' and 'frames'. The description itself adds little parameter-level meaning beyond framing the tool as a timecode calculator.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action (parse SMPTE timecode at a given frame rate) and explicit outputs (frame count, real elapsed seconds), plus an optional conversion behavior. This distinguishes it from sibling tools like convert_file and inspect_file, whose domains are file operations rather than timecode math.

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?

No explicit guidance is given about when to choose this tool over alternatives, nor are there exclusion conditions. The intended usage is only implied by the domain of the description; the siblings are not referenced or differentiated.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct role: conversion, format inspection, listing supported conversions, and timecode calculation. There is no meaningful overlap between them, and the descriptions reinforce their separate purposes.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern like convert_file, inspect_file, and list_converters. timecode_calculate breaks the pattern slightly by using noun_verb, but the style is otherwise consistent and readable.

Tool Count5/5

Four tools is a well-scoped set for a conversion-focused server. Each tool earns its place by covering conversion, discovery, inspection, and a supporting timecode utility without unnecessary redundancy.

Completeness5/5

The core conversion workflow is fully supported: users can discover formats, inspect files without consuming quota, and perform conversions. The additional timecode calculator fills a natural supporting need for media workflows.

Resources