Skip to main content
Glama

uvcs_annotate

Read-onlyIdempotent

Shows who last changed each line of a text file and in which changeset, enabling line-level blame and change tracking.

Instructions

Show who last changed each line of a text file and in which changeset (blame). Binary files cannot be annotated. Read-only.

Input Schema

NameRequiredDescriptionDefault
filePathYesPath relative to UVCS_WORKSPACE.
maxLinesNoMaximum lines to return, from 1 to 5000. Default: 500.
revisionNoOptional cs:123, lb:LABEL, or branch to annotate instead of the workspace revision.
startLineNoFirst line to return. Default: 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A4/5.0
Behavior4/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 adds useful behavioral context beyond that by noting the read-only nature again and, more importantly, that binary files cannot be annotated, which prevents a class of invalid calls.

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?

Three short, front-loaded sentences with no waste. The core operation is stated first, followed by the binary-file caveat and the read-only status.

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 four-parameter read-only operation with no output schema and fully documented parameters, the description covers the essential purpose and key limitation. It could more explicitly route the agent away from sibling history/diff tools, but nothing critical for correct invocation is missing.

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 definitions for filePath, maxLines, revision, and startLine already carry parameter meaning. The description does not add syntax or format guidance beyond the schema, such as how revision strings interact with blame, so it meets the baseline rather than exceeding it.

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 states a specific verb and resource: it shows who last changed each line of a text file and in which changeset, clearly identifying this as a blame operation. The parenthetical '(blame)' reinforces the exact concept, making it distinguishable from sibling tools like uvcs_file_history or uvcs_diff_file.

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 description gives an important usage constraint: binary files cannot be annotated. However, it does not explicitly say when to use this tool versus siblings such as uvcs_file_history or uvcs_diff_file, leaving the agent to infer that this is for per-line authorship rather than general history or diffs.

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