Skip to main content
Glama

Save Team Rules

set-team-rules
DestructiveIdempotent

Save person-approved team rules for coding agents. Read existing values first; replacing different rules requires replaceExisting set to true and approval.

Instructions

Save owned rules with personApproved:true. Read existing values first; different replacements require replaceExisting:true and approval.

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": {
      "markdown": "<markdown>",
      "personApproved": "<personApproved>"
    },
    "name": "set-team-rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
partNo
screenNo
contextNo
markdownYes
projectIdNo
personApprovedYes
replaceExistingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already disclose destructiveHint:true and idempotentHint:true, and the description adds genuinely new behavioral context: existing values must be read first, and overwriting a different value demands an explicit flag plus approval. That is meaningful safety context beyond the structured fields, though it does not say what specifically gets destroyed or who must approve.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, and the safety-critical prerequisite is front-loaded ahead of the conditional flag. Every clause carries operational weight.

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?

This is a destructive 8-parameter mutation with 0% schema description coverage and no output schema, so the description carries nearly the full documentation burden. It covers the write-safety workflow well but leaves the parameter semantics — the bulk of what the agent needs to construct a valid call — essentially undocumented.

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?

Only two of eight parameters are addressed: personApproved (redundant, since the schema already pins it to const:true) and replaceExisting. The six remaining parameters — kind, part, screen, context, markdown, projectId — have zero schema description coverage and no explanation here, leaving an agent to guess at the rule-scoping model.

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 concrete verb and resource ("Save owned rules") and scopes it to owned rules, which implicitly separates it from the read-oriented sibling get-team-rules. It does not name that sibling explicitly, so sibling differentiation is inferred rather than stated.

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?

"Read existing values first" establishes a prerequisite workflow, and "different replacements require replaceExisting:true and approval" names the exact condition that changes how the call must be made. It stops short of naming get-team-rules or stating when not to use this tool at all.

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