Skip to main content
Glama

Matrix Transpose

matrix_transpose
Read-onlyIdempotent

Transpose a matrix (swap rows and columns).

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes
difficultyYes
original_colsYes
original_rowsYes
result_matrixYes

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 the matrix. Each inner list is a row. Example: [[1, 2, 3], [4, 5, 6]]"
  2. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"Result of matrix transpose operation."
    • addedOutput schema / properties
      Added value: +{
      +  "difficulty": {
      +    "type": "string"
      +  },
      +  "original_cols": {
      +    "type": "integer"
      +  },
      +  "original_rows": {
      +    "type": "integer"
      +  },
      +  "result_matrix": {
      +    "items": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    "type": "array"
      +  },
      +  "topic": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "original_rows",
      +  "original_cols",
      +  "result_matrix",
      +  "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.