Skip to main content
Glama

Topos Changeset Assessment

topos_assess_changeset
Read-onlyIdempotent

Assess a multi-file changeset against a git baseline to detect project regressions and quality shifts. Rolls per-file verdicts into a read-only before/after analysis for module splits or spanning edits.

Instructions

Assess a multi-file changeset against a git baseline and roll the per-file verdicts into a project before/after (read-only).

Use for a module split or any edit spanning several files; for a single file use topos_assess_worktree_change. Each file is compared to baseline_ref (new files have no baseline). Flags complexity_relocated_within_file when a function shrank but its file's cyclomatic complexity grew, and project_regression when the rollup drops a generator it previously satisfied. Reads from git and the working tree and writes nothing. When COMPOSABLE is blocked (missing_gitnexus_dir / stale_gitnexus_dir in the contract), call topos_generate_depgraph first, then re-assess. Returns a ChangesetResult.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesArguments for ``topos_assess_changeset`` (multi-file refactor).
Behavior5/5

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

Beyond annotations (readOnlyHint, idempotentHint, destructiveHint), the description adds that it reads from git and working tree, writes nothing, and details specific flags like complexity_relocated_within_file and project_regression.

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?

Five sentences, each serving a distinct purpose: purpose, usage, behavior, error handling, return type. No redundant information, front-loaded with the most critical details.

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?

Given the tool's complexity (multi-file assessment, rollup, flags, dependencies), the description covers read-only guarantee, use cases, alternative tools, error conditions, and return type, making it self-sufficient.

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 description coverage is 100%, providing descriptions for each parameter. The tool description adds context about baseline_ref's role in file comparison, which is helpful but not extensive.

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 clearly states the tool assesses a multi-file changeset against a git baseline, distinguishes from sibling tool topos_assess_worktree_change for single files, and specifies the read-only nature.

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?

Explicitly tells when to use this tool (module split or multi-file edit) versus the single-file alternative, and provides guidance for blocked COMPOSABLE state by calling topos_generate_depgraph first.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Krv-Labs/topos'

If you have feedback or need assistance with the MCP directory API, please join our Discord server