Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by ronda.

Moved to com.useronda/ronda

Save project rule

save_project_rule
Idempotent

Add one rule to the project's rules: a short directive (up to 120 characters, one line) that every editing session of this project follows, in ronda's web editor too, for example "User-facing copy lives in messages/en/*.json; edit those files, not the components." Suggest a rule when the user corrected you or a fix revealed a project convention, and save it only after the user agreed to that exact wording (confirmedByUser: true records that; it does not grant anything). The same rule is never added twice. The saved rules are in open_session's projectContext. Adds to the rules; does not change code.

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": {
      "projectId": "<projectId>",
      "rule": "<rule>",
      "confirmedByUser": "<confirmedByUser>"
    },
    "name": "save_project_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYesThe rule: one short line (up to 120 characters) every editing session of this project follows.
contextNoA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
projectIdYesThe ronda project id, from list_projects, show_projects or create_project.
confirmedByUserYesThe user agreed to this exact wording. An acknowledgement, not a permission.

Output Schema

NameRequiredDescriptionDefault
ruleYes
savedYes
duplicateYes
projectIdYes
redactionYes
ruleCountYes
settingsUrlNo
remainingCharsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With annotations present, the description still adds real value: the dedup guarantee ('the same rule is never added twice') explains the idempotentHint, and it clarifies that confirmedByUser is a record, not a permission. It also discloses a non-obvious side effect — the rule propagates to ronda's web editor and surfaces in open_session's projectContext. It stops short of describing what a save response or failure looks like, though an output schema exists.

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?

The definition is front-loaded with what a rule is and an example, then the when-to-use guidance, then scope disclaimers — a sensible order. It is dense and runs long, but nearly every clause adds operative information; only the parenthetical about confirmedByUser is slightly redundant with the schema's own const and description.

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?

For a write tool with annotations and an output schema, the description covers the constraint, the trigger, the confirmation gate, dedup behavior, and where the result appears. An agent has everything needed to decide to call it and to call it correctly.

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 100%, so the baseline is 3, but the description adds meaning beyond the schema: it tightens the rule to a single line of ~120 characters where the schema permits 400, and reframes confirmedByUser as an acknowledgement rather than authorization. The example rule also shows the expected shape and content style.

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 opens with a specific verb and resource — 'Add one rule to the project's rules' — and immediately constrains what a rule is (a one-line directive up to 120 characters) with a concrete example. The closing clause 'Adds to the rules; does not change code' cleanly separates it from mutating siblings like apply_patch or create_file.

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?

It states exactly when to propose a rule ('when the user corrected you or a fix revealed a project convention') and a hard precondition for saving ('only after the user agreed to that exact wording'). The alternative of merely suggesting without saving is implicit but the trigger and gate are explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources