Duration format clock

duration-format-clock · version 1.0.0 · Dates & times (UTC, ISO 8601) · free, no key needed

Format a nonnegative whole or decimal second count as an exact hh:mm:ss[.fraction] clock duration.

Use when you need to: seconds to hours minutes seconds · format duration as hh:mm:ss · turn decimal seconds into clock time.

Decide before calling

Read the versioned contract and the supported scope below. Reuse duration-format-clock@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use duration-format-clock@1.0.0 for seconds to hours minutes seconds. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "seconds": "3661.250"
}

Response:

{
  "result": {
    "clock": "01:01:01.250",
    "standard_version": "packet-r90-clock-1.0.0"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "duration-format-clock",
  "version": "1.0.0",
  "input": {
    "seconds": "3661.250"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/duration-format-clock/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"seconds":"3661.250"}'

The machine-readable contract is at /v1/tools/duration-format-clock/versions/1.0.0.

CLI

node cli.mjs run duration-format-clock 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.