Skip to main content
Glama

PaycheckHours calculators

Decimal hours converter

convert_decimal_hours

Converts hours and minutes (H:MM) to decimal hours, or decimal hours to hours and minutes. 7:45 is 7.75 hours.

Input Schema

NameRequiredDescriptionDefault
decimal_hoursNoe.g. 7.75
hours_minutesNoH:MM, e.g. 7:45

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It adequately describes the computation and gives an example, implying a safe pure calculation, but it does not explicitly state that the tool is side-effect free, how invalid inputs are handled, or whether the two optional parameters are mutually exclusive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero waste: the conversion behavior is front-loaded and the example immediately anchors the H:MM-to-decimal mapping. Every sentence earns its place.

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

Completeness4/5

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

For a simple two-parameter calculator with a fully described schema and no output schema, the description is nearly complete. The 'or' phrasing signals the mutually exclusive direction, though it could more explicitly say to provide exactly one of the two optional parameters.

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 description coverage is 100%, so the schema already documents both parameters with examples. The description's example '7:45 is 7.75 hours' reinforces meaning but largely repeats what the schema descriptions already provide, so the baseline of 3 is appropriate.

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 uses a specific verb, 'Converts', and names the exact resources: hours/minutes (H:MM) and decimal hours. It also states that conversion works in both directions, so the purpose is clear, but it does not explicitly differentiate this tool from the sibling tools.

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 bidirectional phrasing 'or' implies that one format should be supplied to get the other, which is useful context. However, it gives no explicit guidance on when to choose this tool over siblings such as calculate_time_card or overtime_pay, and no exclusions are stated.

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