Skip to main content
Glama

setup_cursor

Creates .cursor/rules/sylvan.md with project-specific Sylvan tool routing rules so Cursor agents know which MCP tools to use.

Instructions

Creates .cursor/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_cursor"
  }
}

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 behavioral burden, and it discloses almost nothing: not whether an existing sylvan.md is overwritten, whether parent directories are created, whether the operation is idempotent, or whether it touches anything outside the one file. For a write operation with zero annotation coverage these are material omissions.

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?

One clean sentence that front-loads the verb and the exact artifact path, with no filler. Its terseness is an under-specification problem rather than a verbosity problem, so it is penalized in other dimensions instead.

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

Completeness2/5

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

For a mutating setup tool with no annotations and no output schema, the definition says nothing about overwrite behavior, resulting file contents, failure modes, or how it relates to the other setup_* tools. An agent could invoke it, but cannot predict the consequences.

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?

The single parameter (project_path) is fully documented in the schema at 100% coverage, so the schema does the heavy lifting. The description adds no format, constraint, or side-effect context beyond what the schema already states, which is the correct baseline for a well-covered single-parameter tool.

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 (creates) and a specific artifact (.cursor/rules/sylvan.md containing tool routing rules), so an agent knows exactly what the tool produces. It is implicitly distinguishable from setup_claude_code/setup_copilot/setup_windsurf by the .cursor path, but the description never names the editor or those siblings explicitly.

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?

There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g. must the project be indexed first?), and no pointer to the alternative setup_* tools for other editors. The only usage signal is the name and the file path it writes, which the agent must infer.

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