Skip to main content
Glama

ScorpTech x402 Tools

Timecode Diff

timecode_diff
Read-onlyIdempotent

How many frames from one timecode to another, at the same rate. Positive means to is later. Both codes use a colon, or both use a semicolon. Mixing drop-frame with non-drop is rejected. Returns JSON with: from, to, rate, drop, frames. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/timecode-diff

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "timecode_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive semantics, so the description is not carrying the safety burden; instead it adds real behavioral context: sign meaning ('Positive means to is later'), the drop-frame rejection rule, the exact returned fields, and a per-call price (x402, $0.001 USDC on Base or Solana) plus an HTTPS alternative. That cost and constraint disclosure is exactly the kind of thing annotations cannot express.

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?

The definition is front-loaded with the operation and sign convention, then constraints, then return shape, then pricing — a logical order with little waste. The HTTPS endpoint and price sentences are arguably meta-detail, but they are one line each and materially affect whether the caller can use the tool.

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?

For a three-parameter, side-effect-free computation with no output schema, the description covers everything an agent needs: legal inputs, error condition (mixed drop-frame), sign convention, and the returned field list. Nothing essential 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 must compensate, and it does meaningfully: it implies a single `rate` applies to both `from` and `to`, and that the drop-frame flag is conveyed by the colon vs semicolon separator in the timecode strings rather than by a separate parameter. It stops short of spelling out the timecode field layout (HH:MM:SS:FF) or the allowed rate values, which remains a gap.

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 opening sentence states a specific computation (frame count between two timecodes) plus the sign convention, which separates it cleanly from timecode_add, timecode_duration and timecode_frames without needing to name them. An agent immediately knows this is a difference/elapsed-frames operation, not a conversion or arithmetic helper.

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?

Usage is only implied: the constraints ('at the same rate', 'both use a colon, or both use a semicolon', '[m]ixing drop-frame with non-drop is rejected') tell the caller what inputs are legal, but never when to pick this over timecode_duration or timecode_frames, and no exclusions are stated. The preconditions are genuinely useful, yet the routing guidance is absent.

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