Skip to main content
Glama

MatrixCalculator.net

matrix_transpose

Read-onlyIdempotent

Transpose a rectangular or square matrix by exchanging rows and columns. Useful for requests to show where each result entry originated. Preserves exact integer, decimal, and fraction inputs and returns the transposed matrix with source-to-result position mappings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
matrixYesMatrix to transpose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered structurally. The description adds real behavioral value beyond that: it preserves exact integer/decimal/fraction inputs and returns source-to-result position mappings, which is useful given there is no output schema.

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?

Three tight sentences with the core operation front-loaded and no filler. The third sentence is a bit long but each clause (type preservation, return shape) carries distinct information.

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 one-parameter, read-only tool with no output schema, the description covers operation, accepted shapes, input-type preservation, and the return structure including position mappings. Nothing an agent needs in order to call it correctly appears to be missing.

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?

With a single parameter at 100% schema description coverage, the schema already documents 'matrix' fully, so the baseline is 3. The description adds only 'rectangular or square', a minor hint that non-square inputs are accepted, but no format or element-typing detail 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 gives a specific verb+resource ('Transpose ... matrix') and clarifies the mechanism ('exchanging rows and columns'), which unambiguously separates it from siblings like matrix_add or matrix_multiply. It does not name a sibling or a disambiguation condition, so it falls short of the top tier.

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?

'Useful for requests to show where each result entry originated' is an implied usage context rather than explicit when/when-not guidance. No alternative tool or prerequisite is mentioned, leaving the agent to infer selection from the operation name.

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.