Skip to main content
Glama
ClawyPro

Clawy MCP Server

by ClawyPro

firecrawl_crawl

Crawl websites starting from a URL to discover and scrape linked pages, with configurable limits and path filtering for targeted data extraction.

Instructions

Crawl a website starting from a URL. Discovers and scrapes linked pages. Cost is per page crawled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesStarting URL to crawl
limitNoMaximum pages to crawl (default 10)
maxDepthNoMaximum link depth (default 2)
includePathsNoGlob patterns to include (e.g., ['/blog/*'])
excludePathsNoGlob patterns to exclude

Implementation Reference

  • The 'firecrawl_crawl' tool is defined here as part of the 'firecrawlTools' array. It specifies the input schema and the API endpoint.
    {
      name: "firecrawl_crawl",
      description: "Crawl a website starting from a URL. Discovers and scrapes linked pages. Cost is per page crawled.",
      inputSchema: z.object({
        url: z.string().describe("Starting URL to crawl"),
        limit: z.number().optional().describe("Maximum pages to crawl (default 10)"),
        maxDepth: z.number().optional().describe("Maximum link depth (default 2)"),
        includePaths: z.array(z.string()).optional().describe("Glob patterns to include (e.g., ['/blog/*'])"),
        excludePaths: z.array(z.string()).optional().describe("Glob patterns to exclude"),
      }),
      endpoint: "/v1/firecrawl/crawl",
    },
  • The 'firecrawl_crawl' tool (and all other tools in 'allTools') is registered in the MCP server here. The handler executes the request using 'gatewayRequest', dynamically hitting the endpoint specified in the tool definition.
    for (const tool of allTools) {
      server.tool(
        tool.name,
        tool.description,
        tool.inputSchema.shape,
        async (params) => {
          const method = tool.method || "POST";
          const result = await gatewayRequest(method, tool.endpoint, params as Record<string, unknown>);
    
          if (result.error) {
            return {
              content: [{ type: "text" as const, text: `Error (${result.status}): ${result.error}` }],
              isError: true,
            };
          }
    
          const text = typeof result.data === "string"
            ? result.data
            : JSON.stringify(result.data, null, 2);
    
          return {
            content: [{ type: "text" as const, text }],
          };
        },
      );
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds valuable context about cost ('Cost is per page crawled') and the discovery/scraping behavior, which aren't evident from the schema alone. However, it doesn't disclose important traits like rate limits, authentication needs, error handling, or what 'scrapes' entails (e.g., format of returned data).

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

Conciseness5/5

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

The description is extremely concise (three short sentences) with zero wasted words. It's front-loaded with the core purpose, followed by behavioral context and cost information. Every sentence earns its place by adding distinct value.

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 5-parameter tool with no annotations and no output schema, the description provides adequate but incomplete context. It covers the basic purpose and cost implications but lacks details about return values, error conditions, performance characteristics, and how it differs from sibling tools. The schema handles parameter documentation well, but behavioral aspects remain underspecified.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description doesn't add any parameter-specific semantics beyond what's in the schema (e.g., it doesn't explain how 'includePaths' and 'excludePaths' interact). Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the tool's purpose: 'Crawl a website starting from a URL. Discovers and scrapes linked pages.' It specifies the verb ('crawl') and resource ('website'), and distinguishes it from sibling tools like 'firecrawl_scrape' by emphasizing discovery of linked pages. However, it doesn't explicitly differentiate from 'firecrawl_map' which might have overlapping functionality.

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

Usage Guidelines3/5

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

The description provides implied usage context through the mention of 'Discovers and scrapes linked pages' and the cost warning, suggesting this is for comprehensive website exploration rather than single-page scraping. However, it lacks explicit guidance on when to use this versus alternatives like 'firecrawl_scrape' or 'firecrawl_map', and doesn't mention prerequisites or exclusions.

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/ClawyPro/clawy-mcp-server'

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