Skip to main content
Glama

Set change-fit standard

set-change-fit-standard-tool
DestructiveIdempotent

Set this team's pull request size standard, when a person on the team says the number is wrong. Pass target_lines for their number — tighter or looser — or omit it to go back to Coderbuds' default.

You usually will not need this to make room. Coderbuds loosens the standard on its own: when the team's recorded overrides show a caution threshold firing on changes that keep turning out fine, it moves the line and reports the move in the record-change-fit-decision-tool response. Recording overrides is the better path, because it moves the line on evidence the team can read back. Use this when someone already knows the number and does not want to wait for the record to prove it.

Only call it when a person has actually asked, and pass the number they said. A standard is how a team works; it is not yours to set or to talk them out of. Setting it pins the number: Coderbuds stops adjusting this team's standard from then on, including the automatic loosening.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set-change-fit-standard-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
repositoryNoOptional "owner/name" repository slug, used only to bind the session to the owning team.
target_linesNoThe number the team asked for, in reviewable lines. Omit it to revert to Coderbuds' default.

Output Schema

NameRequiredDescriptionDefault
teamYesTeam name.
pinnedYesTrue once the team owns the number and Coderbuds will not adjust it.
sourceYesWho set it: always "team" from this tool.
messageYesHuman-readable confirmation.
target_linesYesThe standard now in force for this team.
previous_target_linesYesThe standard before this change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description earns its keep by disclosing exactly what is destroyed: setting the standard pins the number and stops Coderbuds from auto-adjusting the team's standard thereafter, including the automatic loosening. It also documents the revert semantics of omitting `target_lines`, which the annotations alone would not convey.

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?

Front-loaded with the action and the trigger, then the alternative, then the caution — a sensible order. It runs four paragraphs and repeats the 'it is the team's standard, not yours' point twice, which is slightly more than the guidance needs.

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?

With an output schema present, return values need no explanation, and the two parameters are fully documented. What remains for the description — the destructive pinning side effect, the auto-loosening behavior it suppresses, and the preferred alternative — is all covered, which is complete for a two-parameter mutation tool.

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?

Schema description coverage is 100%, so the schema already explains both parameters, including that omitting `target_lines` reverts to the default. The description reinforces this and adds the intent framing ('pass the number they said', 'tighter or looser'), but it is largely restating structured data rather than adding syntax or format detail, so the baseline of 3 applies.

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 — 'Set this team's pull request size standard' — and immediately bounds it with the trigger condition ('when a person on the team says the number is wrong'). It explicitly distinguishes itself from the sibling `record-change-fit-decision-tool`, so an agent can route correctly without opening either schema.

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?

Gives an explicit default path ('You usually will not need this to make room'), names the preferred alternative (recording overrides, because it moves the line on readable evidence), and states the narrow condition for using this tool instead ('someone already knows the number and does not want to wait'). It also adds a hard precondition: only call when a person has actually asked, and pass their number verbatim.

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