Skip to main content
Glama
PsyWhat

advanced-math-mcp

by PsyWhat

matrix_identity

Generate an n×n identity matrix for linear algebra operations. Specify the size n to create a square matrix with ones on the diagonal.

Instructions

Create n×n identity matrix. Example: n: 3

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nYesSize n
Behavior2/5

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

No annotations provided; description only states creation without any behavioral context (e.g., side effects, authentication, return format). Minimal transparency.

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?

Two short sentences with no unnecessary words. Essential information is front-loaded and easily scannable.

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?

For a simple 1-parameter tool with no output schema, the description is adequate but lacks mention of return type or matrix properties. Could be more complete with minimal extra detail.

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?

Schema description coverage is 100% with 'Size n' clearly explaining the single parameter. The description adds an example that clarifies usage, providing additional value 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?

Description clearly states verb 'Create' and specific resource 'n×n identity matrix', with a concrete example. It distinguishes from sibling tools which are symbolic operations, not matrix creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus siblings or alternatives. Although siblings are different, there is no explicit context for when matrix creation is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PsyWhat/advanced-math-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server