Skip to main content
Glama

x402-connected-components

Connected Components: Finds connected components in an undirected edge list and returns each component as a node array 🆓 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/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the output shape (an array of node arrays per component) and the x402 payment context (5 free trial calls per signed wallet), which is real added value. However, it says nothing about input encoding, whether isolated vertices are included, or how large inputs are handled.

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 operative sentence is short and front-loaded, with the core behavior stated before the promotional tag. The free-trial emoji clause is boilerplate that adds length without aiding tool selection, but it costs little.

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?

For a single-parameter, no-annotation, no-output-schema tool, the description covers purpose and output shape adequately. It remains incomplete on the one thing that matters most here, the edge-list serialization format, and on graph edge cases, so it is minimum-viable rather than complete.

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 coverage is 0% and the single 'edges' parameter has no type detail beyond 'string'. The description implies the input is an edge list, but not its format (JSON array of pairs, newline-delimited 'a-b', etc.), so an agent still cannot construct a valid call from the description.

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 ('Finds connected components in an undirected edge list') and even names the return shape ('each component as a node array'), so the operation is unambiguous. It does not distinguish itself from graph siblings like x402-bfs, x402-dfs, or x402-union, which is the only thing keeping it below a 5.

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 at all: no mention of when connected components is preferable to traversal (bfs/dfs) or union-find siblings, and no preconditions or exclusions. The only contextual sentence is the pricing promo, which does not help an agent choose this tool over another.

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