Skip to main content
Glama

ScorpTech x402 Tools

Timecode Frames

timecode_frames
Read-onlyIdempotent

Count the frames in an SMPTE timecode from midnight. Rates are 24, 25 and 30. A colon is non-drop and a semicolon is drop-frame, which is only legal at 30. Drop-frame skips 00 and 01 at the start of each minute except every tenth minute, so 01:00:00;00 is frame 107892 rather than 108000. Returns JSON with: hours, minutes, seconds, frame, drop, rate, frames, 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-frames

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "timecode_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered; the description goes well beyond that by disclosing cost ($0.001 USDC per successful call), the payment rail (x402, Base or Solana), and an alternate HTTPS endpoint. It also explains the drop-frame skipping rule with a concrete worked example (01:00:00;00 = 107892 rather than 108000), which is genuinely useful behavioral context an agent cannot get from annotations.

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?

Purpose is front-loaded in the first sentence, followed by the rate/drop-frame rules, the return fields, and the pricing/endpoint details. Every sentence carries information, though the pricing and URL tail is slightly promotional and could be trimmed without loss to invocation correctness.

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

Completeness5/5

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

There is no output schema, but the description enumerates the returned keys (hours, minutes, seconds, frame, drop, rate, frames, code), so an agent knows exactly what it receives. Combined with the cost disclosure and drop-frame semantics, nothing needed to call or interpret this two-parameter tool 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 description coverage is 0%, so the description carries the burden, and it does: it defines the allowed rates and, more importantly, decodes the `code` parameter's syntax by explaining the colon vs semicolon convention and drop-frame legality. It does not mention the 16-character max length or the default rate of 30, leaving those to the schema.

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: 'Count the frames in an SMPTE timecode from midnight,' which unambiguously describes the conversion direction. It does not explicitly name the inverse sibling (frames_timecode), so the agent must infer which of the two to pick, which keeps this short of a 5.

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 gives real constraints on legal inputs -- 'Rates are 24, 25 and 30' and 'A colon is non-drop and a semicolon is drop-frame, which is only legal at 30' -- which implicitly tells the agent when the tool applies. However, it never states when to use this versus frames_timecode, nor any preconditions beyond the rate limits.

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