Skip to main content
Glama
btdt

famistudio-mcp

Official
by btdt

Convert between seconds and ticks

compute_ticks
Read-onlyIdempotent

Convert audio durations to FamiStudio ticks using NTSC or PAL frame rates, and verify pattern budget lengths.

Instructions

FamiStudio tempo arithmetic: with a uniform groove one tick equals one frame, so duration is ticks / frameRate (60.0988 NTSC, 50.007 PAL). Use it to turn a target duration into the tick count a spec needs, or to check how long a pattern budget lasts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
palNo
ticksNo
secondsNo
noteLengthNo
patternLengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description reveals the exact conversion formula, the 'uniform groove' assumption, and NTSC/PAL frame rates. It does not describe the return shape or behavior with conflicting parameters, but the annotations already cover the safety profile.

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 description is compact and front-loads the core formula before giving use cases. There is little redundancy, though the dense FamiStudio-specific phrasing could be clearer for unfamiliar agents.

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

Completeness3/5

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

The description provides the essential conversion formula and primary use cases, but leaves meaningful gaps: semantics of noteLength/patternLength, return value details, and behavior when no or multiple conversion inputs are supplied. It is adequate for the main path but not fully self-sufficient.

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

Parameters2/5

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

Schema description coverage is 0%, and the description only clarifies the ticks/seconds relationship and NTSC/PAL values. It does not explain how pal, ticks, seconds, noteLength, or patternLength map to the computation; noteLength and patternLength are especially underspecified.

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?

The description clearly identifies the operation: converting between seconds and ticks, and even provides the governing formula and frame rates. It does not explicitly distinguish this tool from siblings, but no sibling appears to offer the same arithmetic conversion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete use cases: turning a target duration into a tick count for a spec, and checking how long a pattern budget lasts. It does not state exclusions or alternatives, but the provided guidance is sufficient for common selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.