Skip to main content
Glama

setup_windsurf

Creates .windsurf/rules/sylvan.md with project-specific tool routing rules for Sylvan.

Instructions

Creates .windsurf/rules/sylvan.md with tool routing rules for this project.

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": {
      "project_path": "<project_path>"
    },
    "name": "setup_windsurf"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the project directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It reveals the write target, but says nothing about whether an existing file is overwritten, whether the directory is created, permissions required, or whether the operation is idempotent.

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?

A single front-loaded sentence with no filler. It is efficient, though its brevity is part of the reason behavioral details are absent.

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 setup/mutation tool with no annotations and no output schema, an agent still lacks key facts: overwrite behavior, prerequisites, and whether the command should be run per project once or repeatedly. The what is clear; the operational context is thin.

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?

Only one parameter, and the schema already documents project_path at 100% coverage ('Absolute path to the project directory'). The description adds no additional meaning about how the path is used, so the baseline applies.

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?

States a specific verb and artifact: creates .windsurf/rules/sylvan.md containing tool routing rules for the project. An agent knows exactly what file lands on disk, but the description never distinguishes this from the parallel setup_claude_code/setup_cursor/setup_copilot siblings.

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

Usage Guidelines2/5

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

No explicit when-to-use statement, no prerequisites (e.g., must the project be indexed first?), and no mention of the sibling setup tools for other editors. Usage is only inferable from the tool name and the file path it writes.

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