Skip to main content
Glama

x402-matrix-scalar

Matrix Scalar: Multiplies every element of a matrix by a scalar number 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
mNo
matrixNo
scalarNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / m / description
      Removed value: -"M to process"
    • removedInput schema / properties / matrix / description
      Removed value: -"Matrix to process"
    • removedInput schema / properties / scalar / description
      Removed value: -"Scalar to process"
  2. Changed3 schema fields changed
    • addedInput schema / properties / m
      Added value: +{
      +  "description": "M to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / matrix
      Added value: +{
      +  "description": "Matrix to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / scalar
      Added value: +{
      +  "description": "Scalar to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add a genuine behavioral detail — '5 free trial calls per signed wallet' (a payment/rate-limit constraint) — but omits input format, output shape, and error behavior for a pure-compute tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded single sentence stating the operation, with the trial-call note appended. Efficient overall, though the emoji/promo clause is boilerplate rather than tool-defining content.

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

Completeness2/5

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

With no annotations, no output schema, and 0% parameter coverage across three params, the definition leaves an agent unsure how to format the matrix argument or what comes back. For a tool this underspecified, the description should do considerably more.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are three string params. The description loosely names 'matrix' and 'scalar number', but gives no format for the matrix string (delimiter, JSON, nesting) and never explains the redundant 'm' parameter, leaving a real ambiguity unresolved.

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?

States a specific verb and operation: 'Multiplies every element of a matrix by a scalar number.' This implicitly distinguishes it from x402-matrix-multiply (matrix×matrix) and other matrix siblings, though it never names an alternative explicitly.

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?

There is no guidance on when to use this versus x402-matrix-multiply or x402-matrix-add, and no prerequisites or input-format hints. The only extra sentence concerns free-trial billing, not usage selection.

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