Skip to main content
Glama

accept_rule

Idempotent

Write or replace a taste rule in TASTE.md by ID, accepting a distill proposal as-is or adjusted; CI then checks it against its cases.

Instructions

Write a taste rule into TASTE.md (rules:), replacing one with the same id: usually a proposal from distill, as is or adjusted. It must still hold for its own cases (each bad value breaks it, no good one does); CI keeps checking that.

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": {
      "rule": "<rule>"
    },
    "name": "accept_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYes{ id, feature, max? | min? | not? | only?, where?: { type }, severity?, because?, cases? }
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
messageNoOne line saying why, kept with the change in the history
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare write, idempotent, non-destructive and closed-world, and the description adds the key overwrite behavior (a rule with the same id is replaced) and the ongoing CI validation of cases. However, it does not say what happens if the rule fails its own cases at write time (rejected with an error, or accepted and flagged), nor whether existing cases carry over on replacement — meaningful gaps for a write tool with destructiveHint=false.

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?

Two compact sentences with the operation and its replacement semantics front-loaded, followed by the validation constraint. The parenthetical '(each bad value breaks it, no good one does)' is dense but earns its place by defining the check's strictness. No wasted framing.

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 5-parameter write tool with no output schema and full schema coverage, the description supplies the decisions an agent needs: what file it writes, that same-id writes replace, that distill is the usual source, and that the rule stays under CI validation. Return format is not needed since there is no output schema.

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 real meaning beyond it: the rule object's id drives replacement of an existing rule, and the 'cases' field must be strict enough that every bad value breaks the rule and no good one does. It adds nothing on basis, message, feedback or confidence, which are left entirely to their schema text.

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?

States a specific verb and resource ('Write a taste rule into TASTE.md (rules:)') plus the precise upsert semantics ('replacing one with the same id'), and names the sibling that produces the usual input ('a proposal from distill'). An agent can distinguish this from distill without opening any schema.

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

Usage Guidelines4/5

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

Gives clear context for when this is used: taking a distill proposal 'as is or adjusted', which implies the typical workflow entry point. It also states the validity condition the rule must satisfy. It stops short of explicit when-not guidance (e.g. don't use this to fix a broken existing rule vs. other tools).

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

Deploy Server

Other Tools