Skip to main content
Glama

browser_playbook_seed_from_codebase

Analyze frontend codebases to automatically generate draft playbooks for each route and form, enabling quick setup of browser automation tests.

Instructions

Static-analyze the project's frontend (Next.js App/Pages Router, Vite/CRA) and emit draft playbooks per route + form. Drafts have playbook_version=0 and verifiable=false until you run + bless them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectRootNo
domainNoOrigin to assign (e.g. 'app.localhost:3000').
dryRunNo
Behavior3/5

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

The description explains the output state (draft version and verifiability) but lacks details on whether the tool writes to disk, requires specific project structure, or has any side effects. Without annotations, more behavioral context would be beneficial.

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?

Two succinct sentences efficiently convey purpose and post-creation state. No wasted words.

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

Completeness4/5

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

The description explains the input (project root, domain), action (static analysis), output (draft playbooks with version and verifiability status). It covers the main workflow. However, it does not specify the expected project structure or error conditions, which would enhance completeness for an agent.

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?

With only 33% schema parameter descriptions, the description should clarify the missing parameters. It implies projectRoot is the project path but does not explain dryRun or provide detailed syntax for domain. The description adds little to parameter understanding 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 the tool performs static analysis on frontend codebases (Next.js, Vite/CRA) to generate draft playbooks for each route and form, distinguishing it from other playbook tools that manage existing playbooks.

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 implies usage for generating initial playbooks from code, but does not provide explicit guidance on when to use this tool versus other playbook tools (e.g., manual creation, import). No exclusions or prerequisites mentioned.

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/DevZonayed/Mochi'

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