Skip to main content
Glama

x402-adjacency-matrix

Adjacency Matrix: Builds a symmetric adjacency matrix from an edges array of node pairs, indexing each distinct node in order of appearance 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
edgesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / edges / description
      Removed value: -"Edges to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / edges
      Added value: +{
      +  "description": "Edges to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.2/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 disclose useful behavior: the matrix is symmetric (implying undirected edges) and nodes are indexed in order of appearance. However, it says nothing about the return format, handling of self-loops, duplicate edges, weighted edges, or error behavior for malformed input.

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?

The core sentence is front-loaded and information-dense with no padding. The trailing '🆓 5 free trial calls per signed wallet' promo is noise that does not help an agent call the tool, slightly reducing efficiency.

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?

With no output schema and no annotations, the description should explain the return shape and input encoding more fully. It covers the conceptual transform adequately but leaves an agent guessing about how to actually format 'edges' and what the result looks like.

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?

Schema coverage is 0% and the single parameter 'edges' is typed only as a bare string with no description. The description partially compensates by explaining it is an 'edges array of node pairs', but the string-vs-array ambiguity and the expected encoding/format of the pairs remain 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 (Builds) and a precise resource (symmetric adjacency matrix) from an edges array of node pairs, plus the node-indexing rule. It is distinguishable from graph-analysis siblings like x402-bfs or x402-connected-components, 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of sibling alternatives such as x402-connected-components or x402-graph-degrees. The agent must infer applicability purely from the tool name.

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