Skip to main content
Glama

moxie.review_change

Read-onlyIdempotent

Self-review a change you are about to commit BEFORE opening the PR. Pass the proposed new state of each changed file (and any deleted paths); Moxie returns a severity-ranked list of violations to fix: convention breaches, docs your change makes factually false, net-new API/surface added without docs, and doc references broken by deletions. Read-only; no side effects and no writes. Returns a Markdown verdict (clean | warnings | must-fix) with each finding's location, fix, and - for doc issues - the slug to pass to propose_doc_update. Call this as the final step of the edit flow, then fix findings and re-run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repositoryNoThe target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer.
changedFilesYesThe files your change adds or modifies, in their PROPOSED new state. Provide newContent (the full new file text) for each; you may also/instead provide patch (a unified diff). Max 20 files per call.
deletedPathsNoRepository-relative paths your change DELETES, so Moxie can flag docs whose references break.

TDQS

A4.7/5.0
Behavior4/5

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

The description adds behavioral detail beyond the annotations: it states 'Read-only; no side effects and no writes' and explains that it returns a severity-ranked list and a Markdown verdict with location and fix info. It also reveals that it can list available repositories if repository is omitted, which is a behavioral quirk. Annotations already declare readOnlyHint: true, destructiveHint: false, so the description reinforces and adds specifics about output format and the repo listing behavior. This is more than baseline, so a 4 is appropriate, though it could also mention any rate limits or other constraints but that's not necessary.

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 well-structured, starting with the primary action and context ('Self-review a change...'), then the input requirements, then the output format, then the usage instruction. It is comprehensive yet concise, using bullet points implicitly. It front-loads the purpose and constraints, and every sentence adds value. It's a bit long but appropriate for the complexity. No fluff.

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 (multiple parameters, output description, side effects-free), the description is complete. It explains the input, output format, the process, and the usage flow. It also handles edge cases like repository scoping and deleted paths. Even without an output schema, it clearly describes the Markdown verdict and its contents. The description fully compensates for any lack of structured output information. For a tool with such detailed documentation, this is a top score.

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?

The description explains the key parameter 'changedFiles' by saying 'Pass the proposed new state of each changed file (and any deleted paths)' and that it returns findings. However, the input schema already covers parameters comprehensively with descriptions at 100% coverage. The description does clarify that 'changedFiles' should be in proposed new state, and mentions max 20 files per call, which is additional detail. It also explains how deletedPaths work. Since the schema is thorough and the description supplements with usage context, a 4 is justified. It doesn't describe the 'repository' parameter in depth but the schema does; the description's instruction about repository missing behavior is useful but not essential.

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's purpose: 'Self-review a change you are about to commit BEFORE opening the PR.' It specifies the verb ('review'), resource ('change'), and actionable scope (pre-PR commit step). It also distinguishes from siblings by emphasizing 'read-only' and 'no side effects' and the review of violations. Sibling tools like get_doc_impact or list_docs are read-only but not for pre-commit self-review, so it is differentiated.

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?

The description explicitly says 'Call this as the final step of the edit flow, then fix findings and re-run.' This gives clear when-to-use guidance. It also mentions that it should be used before opening a PR, and implies it's for editing content. While it doesn't explicitly say when NOT to use it, the final-step instruction and the highlighted purpose are sufficient for usage guidance. It also contrasts with siblings by implying other read tools (like get_conventions or get_doc_gaps) are for gathering context, not reviewing changes. Overall, this is strong guidance.

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.

TDQS

A4.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but there is some overlap among the documentation-intelligence getters (get_doc_gaps vs get_documentation_opportunities vs get_doc_impact vs get_documentation_patterns). The descriptions do a good job differentiating them, and the scoping differences are explicit.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern: get_* for read-only context, propose_* for doc changes, plus list_docs, search_docs, and review_change. The naming is uniform and predictable.

Tool Count5/5

12 tools is well within the ideal 3-15 range and each tool covers a distinct aspect of the documentation workflow. The count feels comprehensive without being bloated.

Completeness4/5

The set covers the core lifecycle: discovering docs, gaps, opportunities, patterns, proposing updates/removals, and reviewing changes. A minor gap is the lack of a tool to fetch the full content of an existing doc (list_docs gives metadata, search_docs returns snippets), but this can be worked around.