Skip to main content
Glama

Fraction calculator

fraction_calculator

Exact arithmetic on two fractions (a/b op c/d), reduced to lowest terms. op is one of + - * /. Runs on smart-tools.xyz.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesNumerator of first fraction (integer)
bYesDenominator of first fraction (integer)
cYesNumerator of second fraction (integer)
dYesDenominator of second fraction (integer)
localeNoLanguage for the source_url link (default en)
operatorYesOperation

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that arithmetic is exact and results are reduced to lowest terms, but it does not explain the output format (e.g., fraction string vs. object), error behavior on division by zero, or how the locale parameter affects a source_url link. These omissions leave notable behavioral gaps.

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?

The description is two sentences long and front-loaded with the core purpose ('Exact arithmetic on two fractions'). Every word earns its place, and the operation set is listed compactly. No filler or redundancy.

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?

Given the tool's simplicity, the description covers the main functionality, but the absence of an output schema means the description should clarify what is returned (e.g., the reduced fraction) and any quirks like the source_url link tied to locale. These details are missing, leaving the description only partially complete.

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?

The schema already covers all 6 parameters (100% coverage), setting a baseline of 3. The description adds value by illustrating the relationship a/b op c/d, which makes the roles of a, b, c, d, and operator immediately clear. However, it does not mention the locale parameter, though that is explained in the schema.

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 description clearly states the tool performs exact arithmetic on two fractions in the form a/b op c/d, with results reduced to lowest terms. This specific verb+resource definition distinguishes it from sibling calculators like scientific_calculator or percentage_calculator.

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 intended use is implied by the description—when you need exact fraction arithmetic with simplified results—but no explicit guidance is given about when not to use it or how it compares to alternatives like the scientific calculator. There are no exclusionary or alternative tool references.

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.

TDQS

B3.3/5.0
Disambiguation3/5

Most tools are clearly distinct, but there are notable overlaps. 'hash_generator' and 'file_hash' effectively do the same thing (SHA hashing of text), and several CSV/TSV converters (csv_to_json, csv_to_sql, table_to_csv, markdown_table) have similar input handling, though outputs differ. The sheer number of converters is clear, but these near-duplicates create some ambiguity.

Naming Consistency4/5

Names follow a generally consistent pattern: lowercase with underscores, often ending in 'converter', 'calculator', or 'generator'. A few names like 'base64', 'lorem_ipsum', and 'transliteration' deviate from the suffix pattern, but the naming style is uniform and predictable overall.

Tool Count2/5

With 73 tools, this server is far over the typical well-scoped range. While the broad utility-toolkit purpose might justify a larger set, 73 is unwieldy and pushes well into 'too many' territory, making it harder for an agent to select the right tool efficiently.

Completeness4/5

The server covers a remarkably wide range of common utilities: unit conversions, calculators, text transformations, development helpers (JSON, regex, JWT, subnet), and generators. Minor gaps exist (e.g., currency converter, time zone converter), but for a general-purpose toolkit, it is largely comprehensive.

Resources