Skip to main content
Glama

breadcrumb-extractor

Extract structured breadcrumbs from any URL to reveal page hierarchy. Returns domain, labeled path segments, query parameters, and formatted trail — no external calls.

Instructions

Extracts structured breadcrumb navigation from a URL. Returns domain, ordered path segments with human-readable labels, query parameters as key-value pairs, and a formatted breadcrumb trail string. Identifies numeric IDs vs. named path segments. Pure URL parsing — zero external calls. Useful for agents that process sitemaps, navigation menus, or need to understand page hierarchy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoFull URL to extract breadcrumbs from (e.g. 'https://docs.example.com/api/v2/users/123/profile').
separatorNoBreadcrumb separator string (default: ' > ').
Behavior4/5

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

No annotations exist, so description carries full burden. It states 'Pure URL parsing — zero external calls,' clarifying no side effects. It also mentions identifying numeric vs named path segments, but lacks detail on error handling or output format structure.

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 description is concise, a single paragraph of two sentences, with the main action front-loaded. It is well-structured and easy to read, though could be slightly more compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description thoroughly explains the return values (domain, path segments, labels, query parameters, formatted string) and additional behavior (identifying numeric vs named). It covers all necessary aspects for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and description adds context by explaining the URL parameter's purpose and mentioning the default separator. It provides meaningful interpretation beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it extracts structured breadcrumb navigation from a URL and specifies the return components (domain, path segments, labels, query parameters, formatted string). It also mentions identifying numeric IDs vs named segments, making it distinct from any sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description mentions it is useful for processing sitemaps, navigation menus, or understanding page hierarchy, providing context. It does not explicitly state when not to use or mention alternatives, but given no similar siblings, this is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thebrierfox/the-stall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server