x402-bfs
Bfs: Breadth-first search on a graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | Edges to process | |
| start | No | Start to process |
Bfs: Breadth-first search on a graph.
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | Edges to process | |
| start | No | Start to process |
Changes observed during successful MCP inspections.
Input schema / properties / edgesAdded value: +{
+ "description": "Edges to process",
+ "type": "string"
+}Input schema / properties / startAdded value: +{
+ "description": "Start to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing: no input format, no ordering of the traversal result, no error behavior for malformed edges, no indication of whether the result is a path, visit order, or reachability set. For a no-annotation tool this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is a single short sentence, so it is not bloated, but the 'Bfs:' prefix is redundant with the tool name. Brevity here comes from under-specification rather than disciplined editing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 an ambiguous edge/start input format, the description leaves too much to inference. An agent cannot reliably construct a valid call, particularly around how edges are serialized.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is nominally 100%, so the baseline is 3. The schema descriptions are terse ('Edges to process', 'Start to process') and the tool description adds nothing about edge encoding (e.g. 'A-B,C-D' vs. a JSON list) or what 'start' refers to, so it neither compensates nor regresses.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
It names the algorithm (breadth-first search) and the domain (graph), which is more than a bare restatement of the name. However, it never says what the tool actually returns or in what form the graph is expressed, and it does not distinguish itself from the sibling x402-dfs (depth-first search) which would be the natural alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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, and no mention of the closely related x402-dfs or other graph siblings (x402-graph-degrees, x402-connected-components). The agent must infer that this is the BFS choice purely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.