Skip to main content
Glama

x402-bfs

Bfs: Breadth-first search on a graph. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
edgesNo
startNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but discloses almost nothing: not the traversal order returned, whether output is a node list or path, whether the graph is treated as directed, or what happens on disconnected graphs. The free-trial/payment note is billing context rather than behavior.

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

Conciseness3/5

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

The definition is short and front-loads the operation, but the second sentence is promotional billing text with an emoji that adds no selection or invocation value, while the genuinely needed input-format detail is absent.

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?

For a 2-parameter tool with no annotations and no output schema, the description should at minimum explain the edge input format and the shape of the result. Neither is covered, leaving an agent unable to construct a correct call without guessing.

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%, so both parameters ('edges' and 'start') are undocumented in structured fields. The description only implies that they describe a graph, without stating the edge encoding (edge list string? delimiter? JSON?) or whether 'start' must be an existing node label.

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?

The description names a specific algorithm and resource: 'Breadth-first search on a graph.' An agent can tell this computes a BFS traversal rather than a generic utility. It does not distinguish itself from the sibling x402-dfs (depth-first search), which is the nearest 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 guidance on when to choose BFS over x402-dfs or other graph tools, no prerequisites, and no note on what problem shapes (shortest path, level order) it suits. The only extra sentence concerns billing ('5 free trial calls per signed wallet'), 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