Skip to main content
Glama

MaCalculatriceEnLigne

Calculate Time Signature Beats

calculate_time_signature_beats
Read-onlyIdempotent

Calculate total beats and duration for a musical passage in bars. Returns: {time_signature}. See list_bundles for related 'musique' calculators.

Input Schema

NameRequiredDescriptionDefault
bpmYesTempo in beats per minute
barsYesNumber of bars
beat_valueNoNote value of one beat (denominator of time signature, e.g. 4 for quarter note)
beats_per_barNoNumber of beats per bar (numerator of time signature)

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds no behavioral context beyond purpose, and its "Returns: {time_signature}" line is a vague, possibly inaccurate gloss given the tool computes total beats and duration.

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?

Two short sentences with the core purpose front-loaded and no padding. The second sentence (bundle pointer) is marginally useful, and the "Returns" fragment is low-value given an output schema exists, but nothing is verbose.

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?

With an output schema present, a fully-described input schema, and complete annotations, the definition covers the minimum an agent needs. The musical domain terminology (beat_value vs beats_per_bar, time signature handling) is not expanded, but for a simple numeric calculator this is adequate rather than rich.

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

Parameters3/5

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

Schema coverage is 100%, so bpm, bars, beat_value and beats_per_bar are fully documented in the schema with ranges and defaults. The description adds no parameter semantics, so the baseline 3 for schema-complete tools applies.

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: "Calculate total beats and duration for a musical passage in bars." An agent understands exactly the output domain. It does not explicitly contrast with any named sibling, though the 'musique' bundle reference gives loose context.

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

Usage Guidelines2/5

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

The only routing guidance is "See list_bundles for related 'musique' calculators," which points at a directory rather than saying when this tool is the right choice. No when-not-to-use or explicit alternative is given.

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.