Skip to main content
Glama

Matrix Inverse

matrix_inverse
Read-onlyIdempotent

Calculate the inverse of a square matrix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
matrixYes2D list of numbers representing a square matrix. Each inner list is a row. Example: [[1, 2], [3, 4]]

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeYes
errorNo
topicYes
successYes
difficultyYes
result_matrixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / matrix / description
      Added value: +"2D list of numbers representing a square matrix. Each inner list is a row. Example: [[1, 2], [3, 4]]"
  2. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"Result of matrix inverse calculation."
    • addedOutput schema / properties
      Added value: +{
      +  "difficulty": {
      +    "type": "string"
      +  },
      +  "error": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null
      +  },
      +  "result_matrix": {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "items": {
      +            "type": "number"
      +          },
      +          "type": "array"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null
      +  },
      +  "size": {
      +    "type": "integer"
      +  },
      +  "success": {
      +    "type": "boolean"
      +  },
      +  "topic": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "size",
      +  "success",
      +  "difficulty",
      +  "topic"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / matrix / title
      Removed value: -"Matrix"
  4. Changed1 schema field changed
    • addedInput schema / properties / matrix / maxItems
      Added value: +10000
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.