Skip to main content
Glama

x402-graph-degrees

Graph Degrees: Computes a degree count for each node of an undirected edge list 🆓 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

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It does disclose that the input is an undirected edge list and the output is a per-node degree count, which is useful. But it omits the critical behavioral detail: the 'edges' parameter is a string, and the description never says how the edge list must be encoded (JSON, newline-delimited, CSV), leaving the agent unable to construct a valid call.

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 and short: the purpose sentence comes first, followed by the promo. No wasted padding, though the pricing line is not strictly necessary for tool selection.

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 output schema and no annotations, the description must explain both the input format and the return shape. It gives the semantic meaning of the result (degree per node) but not its structure, and leaves the input encoding completely undefined — a significant gap for a tool whose sole parameter is an untyped string.

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% for the single 'edges' parameter, so the description must compensate. It only says 'undirected edge list' without specifying the string format or delimiter, which is the single most important thing the agent needs. It adds marginal meaning over the bare schema but leaves the format unspecified.

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 resource: 'Computes a degree count for each node of an undirected edge list.' An agent understands the operation. However, it does not differentiate from close siblings like x402-graph-edge-count, x402-graph-vertex-count, or x402-adjacency-matrix, which all operate on similar graph inputs.

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 when-to-use guidance, no conditions, and no named alternatives among the many graph siblings. The only additional sentence is a pricing promo ('5 free trial calls per signed wallet'), which tells the agent nothing about tool 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