Skip to main content
Glama
wenshuo0114

file-reviewer

by wenshuo0114

review_file_metadata

Read-onlyIdempotent

Verify file metadata—creation, modification, commit dates, and SHA256 hash—against audit reports to identify inconsistencies.

Instructions

文件的创建日期、最近修改日期、首次/最后提交仓库日期、sha256,以及与报告中记录的审查时哈希是否一致。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the behavioral detail that it checks whether the SHA256 matches a recorded hash from a report, which is useful context. However, it does not explain what happens on mismatch, whether it returns a boolean or a detailed report, or any other side effects, so it adds limited value beyond annotations.

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?

The description is a single, compact sentence that efficiently lists the metadata attributes and the consistency check. It is well-structured and front-loaded with the core purpose. No filler or redundant content.

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

Completeness3/5

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

An output schema exists, so return value details are not required. However, the description lacks information on the input format and does not explain when this tool should be preferred over siblings. For a tool with one parameter and a clear purpose, it is mostly complete, but the missing usage context and input clarification lower the score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully explain the parameter. It only says 'file' without specifying the expected format (e.g., path, identifier, or URI). The description implies the file's metadata is reviewed but does not clarify how the file is referenced. This is insufficient given the low schema coverage.

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 clearly states the tool reviews file metadata including dates and SHA256 hash, and checks consistency with a recorded hash. It uses a specific verb ('review') and resource ('file metadata'), making the purpose unambiguous. However, it does not explicitly distinguish itself from sibling tools like review_read or review_scan, so it misses the top score for sibling differentiation.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention conditions, prerequisites, or exclusions. With many sibling tools (review_open, review_read, review_scan), an agent would need to infer when metadata review is appropriate, which is not clearly conveyed.

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