Skip to main content
Glama
Debugg AI MCP

Debugg AI MCP

Official
by debugg-ai

Trigger App Crawl

trigger_crawl

Crawl a web app with a browser agent to build its knowledge graph, exploring pages, UI states, and navigation flows so future evaluations and tests have app context.

Instructions

Trigger a browser-agent crawl of a web app to build the project's knowledge graph. The crawl systematically explores pages, UI states, and navigation flows, then populates the backend's knowledge graph so future evaluations and tests have context about the app.

LOCALHOST SUPPORT: Pass any localhost URL (e.g. http://localhost:3000) and it Just Works. A secure tunnel is automatically created so the remote browser can reach your local dev server.

WHEN TO USE: after a significant new feature, a new environment, or when onboarding a project. NOT for per-change verification — use check_app_in_browser for that.

SCOPE: one crawl per call against one URL. The crawl is long-running (minutes to tens of minutes depending on app size) and populates backend state asynchronously; the tool returns the execution status once the workflow completes. This does NOT return pass/fail — it returns executionId + status + outcome.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "trigger_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to crawl. Can be any public URL or a localhost/local dev server URL. For localhost URLs, a secure tunnel is automatically created — just make sure your dev server is running on that port.
passwordNoThe real password for the username above. Do NOT guess.
repoNameNoGitHub repository name (e.g. 'my-org/my-repo'). Auto-detected from the current git repo — only provide this to run against a different project.
usernameNoA real, existing account email for the target app. Do NOT invent credentials — use one from the available credentials or ask the user.
projectUuidNoUUID of the project whose knowledge graph the crawl should populate. Auto-detected from the current git repo if omitted.
credentialIdNoUUID of a specific credential for authenticated crawls. See available credentials in the tool description above.
credentialRefNoPREFERRED over password: 'env:NAME' or 'simpli:<vault-env>/<KEY>' (e.g. 'simpli:qa-logins/QA_APP_PASSWORD'). Resolved on this machine at call time and used as the password; the secret never appears in the transcript, logs or output. Use instead of password.
environmentIdNoUUID of a specific environment to use for the crawl. See available environments in the tool description above.
credentialRoleNoPick a credential by role (e.g. 'admin', 'guest') from the resolved environment.
timeoutSecondsNoMaximum wall-time the crawl may run, in seconds (1..1800). Backend enforces this per workflow execution.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv6.2.13
    • addedInput schema / properties / credentialRef
      Added value: +{
      +  "description": "PREFERRED over password: 'env:NAME' or 'simpli:<vault-env>/<KEY>' (e.g. 'simpli:qa-logins/QA_APP_PASSWORD'). Resolved on this machine at call time and used as the password; the secret never appears in the transcript, logs or output. Use instead of password.",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv3.0.1
    • removedInput schema / properties / headless
      Removed value: -{
      -  "description": "Run the browser in headless mode. Defaults to backend configuration.",
      -  "type": "boolean"
      -}
  3. Addedv2.6.1

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true) by disclosing the async, long-running nature (minutes to tens of minutes), that it mutates backend state, that it spawns a secure tunnel for localhost, and the rough return shape (executionId + status + outcome, not pass/fail). It does not say whether an existing knowledge graph is replaced or merged, nor how to poll an execution that outlives the call, which keeps it short of a 5.

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?

Front-loaded with labeled sections (LOCALHOST SUPPORT, WHEN TO USE, SCOPE) so an agent can scan the decision-relevant parts first. Some overlap between the opening paragraph and SCOPE, and the credentials pointer references content that isn't present.

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?

With 10 parameters, no output schema, and an asynchronous mutation, the description supplies what's missing: runtime expectations, the async/mutating nature, return-shape expectations, and the distinction from per-change verification. Nothing essential to calling it correctly is absent.

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 already 100%, so baseline is 3; the description still adds real meaning by explaining the localhost/tunnel behavior behind url and, via the SCOPE line, that exactly one URL is crawled per call. The credentialId/environmentId schema entries say to 'see available credentials in the tool description above', but this description lists none, leaving a dangling pointer.

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?

States a concrete verb and resource ('Trigger a browser-agent crawl of a web app') plus the outcome ('build the project's knowledge graph'), and explicitly separates it from the sibling check_app_in_browser. An agent can select it without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use triggers (new feature, new environment, onboarding) and an explicit exclusion ('NOT for per-change verification') naming the alternative tool to use instead. This is the full when/when-not/alternative triad.

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