Skip to main content
Glama

ScorpTech x402 Tools

Timecode Duration

timecode_duration
Read-onlyIdempotent

Exact length of a frame count. 24, 25 and non-drop 30 use 1/rate second per frame. Drop-frame 30 uses the NTSC frame, 1001/30000 second. Pass a timecode or a frame count, not both. The semicolon selects drop-frame when you pass a code. Returns JSON with: seconds, decimal, frames, rate, drop, code. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/timecode-duration

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": "timecode_duration"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
dropNo
rateNo
framesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds material beyond them: the per-frame math for each rate, NTSC 1001/30000 timing for drop-frame, the exact response fields, and an explicit price/payment requirement ($0.001 USDC via x402 on Base or Solana) plus an HTTPS alternative. The only omission is behavior when neither code nor frames is supplied.

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?

Front-loaded and dense with zero filler – frame math first, then the input rule, then the return shape and cost. The opening sentence ('Exact length of a frame count') is slightly compressed/ambiguous, but the rest is well ordered.

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 four-parameter, no-output-schema tool it is nearly self-sufficient: return fields are enumerated, cost and payment path are disclosed, and the core conversion rules are stated. What's missing is default behavior when both inputs are omitted and how the `drop` flag interacts with a code that already carries a semicolon.

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?

With 0% schema description coverage, the description carries the burden and largely does: it defines the timing semantics of the rate enum values, ties the semicolon in `code` to drop-frame selection, and states the code/frames mutual exclusivity. It does not explain the `drop` boolean on its own, the 16-character code limit, or the 2,592,000 frame ceiling, leaving some param semantics to guesswork.

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 operation (exact length/duration) over a specific input domain (timecode or frame count), which is enough to distinguish it from the inverse-direction siblings like frames_timecode or timecode_frames. It never names an alternative tool, so differentiation is inferred rather than explicit.

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?

Gives a real usage constraint – 'Pass a timecode or a frame count, not both' – and explains that a semicolon in the code selects drop-frame. It stops short of saying when to reach for this tool instead of duration_parse or timecode_diff, so routing between siblings is left 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.

Resources