Skip to main content
Glama

polish_get_project_rules

Reports recognized project formatter configuration files and their precedence for a given project root, helping you identify which settings apply before formatting.

Instructions

Report recognized project formatter configuration files and configuration precedence.

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": {
      "root": "<root>"
    },
    "name": "polish_get_project_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only report and mentions configuration precedence, but never states that it is non-mutating, what happens if root is invalid, whether it errors or returns empty, or what the report looks like. For a tool with zero annotation coverage this is a meaningful gap.

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 or redundancy. It is efficient, though the terseness contributes to the gaps in parameter and behavior coverage rather than offsetting them.

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?

The tool is simple (one required parameter, no nesting, no output schema), and the description does convey what information is reported. However, it leaves the root parameter unexplained and gives no sense of the response shape or precedence semantics, which are the two things an agent would most want to know.

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?

The single required parameter 'root' has 0% schema description coverage and is never mentioned in the description, so nothing explains that it is a filesystem path to the project directory. With low coverage the description is expected to compensate, and it does not.

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 gives a specific verb and resource: 'Report recognized project formatter configuration files and configuration precedence.' An agent can tell this is about inspecting config, not about formatting or linting. It stops short of differentiating from close siblings like polish_check_project or polish_status, so it is clear but not fully disambiguating.

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 explicit statement of when to use this tool, when not to, or which sibling to use instead (e.g. polish_check_project or polish_status). Usage is only implied by the phrase 'recognized project formatter configuration files', leaving the agent to infer the scenario.

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