Skip to main content
Glama

Aman-Amith-Shastry-scientific_computation_mcp

determinant

Read-onlyIdempotent
    Computes the determinant of a stored square matrix.

    Args:
        name (str): The name of the matrix.

    Returns:
        float: The determinant of the matrix.

    Raises:
        ValueError: If the matrix is not found or is not square.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the stored square matrix.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / name / description
      Added value: +"Name of the stored square matrix."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark it as read-only and idempotenthjklmn, but the description adds specific behavior: it raises ValueError when the matrix is not found or not square. That error handling detail goes beyond the structured annotations and is valuable for an agent.

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 compact and front-loaded with the core purpose, followed by a standard Args/Returns/Raises block. Every sentence earns its place; no filler or redundant phrasing.

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

Completeness5/5

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

For a simple single-parameter read-only operation, the description covers purpose, input, return type, and failure conditions. The presence of an output schema and existing sibling list makes this complete; no critical operating detail is 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?

The input schema already fully describes `name` as 'Name of the stored square matrix,' and the description restates this almost identically without extra depth (e.g., no naming conventions, accepted formats, or reference requirements). Schema coverage is 100%, so the description adds little beyond 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 action ('Computes'), the specific object ('determinant'), the input domain ('stored square matrix'), and the return type. This unambiguously differentiates it from siblings like matrix_inverse or transpose.

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 description strongly implies when to use this tool (when you need a matrix's determinant) and includes error conditions, but it does not explicitly contrast with alternative tools or state when not to use it. This is clear context without explicit exclusions or named sibling alternatives.

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.