Skip to main content
Glama

uvcs_cleanup_candidates

Read-onlyIdempotent

Lists temporary and agent branch cleanup candidates for manual review without deleting branches or changesets.

Instructions

Read-only helper that lists temporary/agent branch cleanup candidates for manual review. It never deletes branches or changesets.

Input Schema

NameRequiredDescriptionDefault
patternsNoOptional semicolon-separated branch prefixes to inspect, for example /main/tmp;/main/agent.
maxResultsNoMaximum branches to return, from 1 to 200. Default: 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description reinforces this by saying it never deletes branches or changesets, but it adds no further behavioral detail such as permissions, pagination, or selection criteria.

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?

The description is two short sentences with the core purpose front-loaded. There is no wasted wording, and the safety clarification is concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only listing tool with full schema coverage and clear annotations, the description provides enough context to call it correctly. It could still improve by describing what makes a branch a cleanup candidate or how results are ordered.

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 both parameters are already documented in the input schema. The description does not add meaning beyond the schema for patterns or maxResults, which is acceptable given the full coverage baseline.

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 states a specific verb and resource: it lists temporary/agent branch cleanup candidates. It is clear what the tool does, but it does not differentiate itself from sibling tools such as uvcs_branch_list or uvcs_branch_safety_report.

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

Usage Guidelines3/5

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

The phrase 'for manual review' implies when the tool is useful, but there is no explicit guidance on when to use it instead of alternatives. It also does not state exclusions or prerequisites.

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