Skip to main content
Glama
smeet666

mcp-stashbox

Identify a file by its fingerprint

find_by_fingerprint
Read-onlyIdempotent

Identify the scene a file matches by sending its MD5, OSHASH, or PHASH fingerprints to all configured catalogues. Send all hashes together to resolve matches in one request.

Instructions

Ask every configured catalogue which scene a file corresponds to, from the hashes held for it. Pass every hash of one file together: one request settles what three would ask separately. MD5 and OSHASH match the same file; PHASH matches images that resemble each other, which is no evidence that two files are the same.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourcesNoNarrow to named catalogues. Every configured catalogue is asked by default.
fingerprintsYesEvery fingerprint held for one file. A file carries one hash per algorithm, so a longer list is an inventory rather than a question.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
askedYes
notesYes
matchesYes
per_sourceYes
match_countYesMatches returned: one per scene per fingerprint it carries.
unattributedYesScenes a catalogue answered with while returning none of the fingerprints asked for. Which hash reached them is unknown, which is kept apart from a catalogue that found nothing.
scenes_matchedYesDistinct scenes behind those matches.
Behavior4/5

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

While annotations already declare read-only and idempotent behavior, the description adds crucial detail: it queries all configured catalogues by default, can be narrowed via sources, and explains that PHASH matches are only similarity-based, not evidence of file identity. This goes beyond the structured annotations.

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 three sentences, each adding distinct value: purpose, usage tip, and hash semantics. No repetition or fluff, efficiently front-loaded.

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 simple parameter structure, strong annotations, and presence of an output schema, the description sufficiently covers the tool's core behavior, default scope, algorithm caveats, and usage guidance. It is complete for an agent to select and invoke the tool correctly.

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 coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by advising to group all hashes for one file in a single request and by clarifying the meaning of each algorithm (MD5/OSHASH exact, PHASH similarity). This enriches parameter understanding.

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 function: 'Ask every configured catalogue which scene a file corresponds to, from the hashes held for it.' This identifies a specific verb, resource, and purpose, and differentiates it from sibling search/get tools by focusing on fingerprint-based identification of scenes.

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

Usage Guidelines4/5

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

The description provides clear usage context: use it when you have a file's hashes and want to find the corresponding scene. It also gives an explicit tip to 'Pass every hash of one file together' and warns about the differing semantics of PHASH vs MD5/OSHASH. However, it does not explicitly name alternative tools or state when not to use this tool.

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/smeet666/mcp-stashbox'

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