Skip to main content
Glama

Free Tool Directory

aspect-ratio-calculator

Aspect Ratio Calculator — Free aspect ratio calculator: simplify any width and height to its lowest ratio, match common presets like 16:9, and scale to any size — all in your browser.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "width": "<width>",
      "height": "<height>"
    },
    "name": "aspect-ratio-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYesWidth in any unit. Range 0.0001-1000000000.
heightYesHeight in the same unit. Range 0.0001-1000000000.
target_widthNoOptional: width to scale to; returns the matching height.
target_heightNoOptional: height to scale to; returns the matching width.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 load, and 'all in your browser' does usefully signal a client-side, side-effect-free computation. However, it says nothing about precision or rounding of the simplified ratio, what happens when both target_width and target_height are given, or what the response looks like (no output schema exists). These are real gaps for a math tool, though the low-risk computation offsets them.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler sentences, which is good structure. But the opening 'Aspect Ratio Calculator — Free aspect ratio calculator' duplicates the tool name and the marketing word 'Free' earns no place in a tool definition, slightly diluting density.

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 four-parameter deterministic calculator with fully documented parameters and no output schema, the description covers all three modes of operation (simplify, preset match, scale) adequately. What is missing — rounding behavior and handling of conflicting target parameters — is minor for a tool of this complexity.

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 units and ranges are already documented in the schema and the baseline is 3. The description adds only the conceptual framing of 'scale to any size' and 'match common presets' without explaining precedence between the two optional target parameters or the output shape for each. It adds light meaning but nothing beyond the schema.

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 specific verbs tied to a concrete resource: simplify width/height to the lowest ratio, match presets like 16:9, and scale to a target size. An agent immediately knows this is an aspect-ratio math tool, which is distinct from the other calculator siblings by subject alone. It stops short of a 5 because no sibling or alternative is named.

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?

Usage is implied by the capability list (simplify a ratio, scale to a new size), but there is no explicit statement of when to reach for this tool versus something else, nor when to supply target_width versus target_height. For a single-purpose calculator with no real competing sibling the cost is small, which keeps it at a minimum-viable 3 rather than lower.

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