Skip to main content
Glama

Affine Earth Math Court Remote

execute_exact_permanent

Read-onlyIdempotent

Sharp-P exact integer permanent for n<=3 computed by direct expansion and cross-checked against Ryser formula (WIN when permanent == 6). Floats refused.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "execute_exact_permanent"
  }
}

Input Schema

NameRequiredDescriptionDefault
matrixNoRows split by | and integer cells by comma, e.g. 1,1,1|1,1,1|1,1,1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / matrix / description
      Previous value: -"rows | cells , integer entries. e.g. 1,1,1|1,1,1|1,1,1"New value: +"Rows split by | and integer cells by comma, e.g. 1,1,1|1,1,1|1,1,1"
  2. Changed1 schema field changed
    • changedInput schema / properties / matrix / description
      Previous value: -"Rows split by | and integer cells by comma, e.g. 1,1,1|1,1,1|1,1,1"New value: +"rows | cells , integer entries. e.g. 1,1,1|1,1,1|1,1,1"
  3. Changed1 schema field changed
    • changedInput schema / properties / matrix / description
      Previous value: -"rows | cells , integer entries. e.g. 1,1,1|1,1,1|1,1,1"New value: +"Rows split by | and integer cells by comma, e.g. 1,1,1|1,1,1|1,1,1"
  4. Added
  5. Removed
  6. Changed1 schema field changed
    • changedInput schema / properties / matrix / description
      Previous value: -"rows | cells , integer entries"New value: +"rows | cells , integer entries. e.g. 1,1,1|1,1,1|1,1,1"
  7. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses the algorithm (direct expansion), the independent cross-check (Ryser formula), and the hard input domain restriction (integers only, no floats). That is meaningful context an agent could not get from the annotations, though failure behavior for out-of-range n is unstated.

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?

One compact sentence with the core purpose front-loaded, but the parenthetical '(WIN when permanent == 6)' reads as an internal test assertion rather than useful guidance, and the sentence packs three unrelated facts without structure.

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?

There is no output schema, and the description says what is computed but not what the response contains or what happens when the optional matrix is omitted. For a narrow single-parameter math tool this is close to adequate but leaves return-value shape to inference.

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 one parameter at 100% schema coverage, the schema already explains the '1,1,1|1,1,1|1,1,1' format; the description only reinforces the integer restriction. Baseline 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 names a specific computation: the exact integer permanent, with an explicit size bound (n<=3) and arithmetic domain (integers). That is enough to separate it from generic linear-algebra siblings, though it never names an alternative.

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?

Preconditions are stated ('n<=3', 'Floats refused'), which is real guidance on when the call will succeed, but there is no statement of when to prefer this tool over another approach or what to do for n>3.

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