Skip to main content
Glama
zyj999-abc

crypto-reverse-mcp

by zyj999-abc

detect_crypto

Detect cryptographic algorithms (AES, RSA, SM2, SM3, SM4, HMAC, MD5, SHA) in JavaScript source code with evidence, key/IV tracking, and cipher mode identification.

Instructions

Detect cryptographic algorithms used in JavaScript source code. Identifies AES/RSA/SM2/SM3/SM4/HMAC/MD5/SHA family algorithms with evidence, key/IV source tracking, and cipher mode. Input: JS source code string. Returns list of detected crypto usages with algorithm type, location (line/col), evidence snippet, key source, IV source, and mode (CBC/ECB/GCM/CTR etc).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesJavaScript source code to analyze
optionsNoDetection options
Behavior3/5

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

With no annotations, the description discloses core behavior (detection, output format) but omits potential limitations (e.g., false positives, performance with large code, handling of dynamic imports). It does not contradict any 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?

Two sentences: first introduces the purpose, second details the output. Extremely concise, front-loaded, with no filler. Every sentence adds value.

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?

The description covers input, output format, and key details (algorithm families, evidence). Given the moderate complexity (2 params, nested object) and no output schema, it provides sufficient context. Could mention handling of edge cases or error conditions for completeness.

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 coverage is 100%, so the schema already documents parameters. The description reiterates the input as 'JS source code string' but adds no new semantic details beyond what the schema provides. Baseline score of 3 is appropriate.

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 detects cryptographic algorithms in JavaScript source code, listing specific algorithm families (AES, RSA, SM2, etc.) and the extracted evidence (location, key source, IV, mode). This specificity distinguishes it from sibling tools like 'identify_obfuscation' and 'extract_crypto_constants'.

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 implies use when needing to identify crypto usage in JS code but provides no explicit guidance on when to prefer this tool over siblings like 'extract_crypto_constants' or 'reconstruct_algorithm'. No exclusion criteria or prerequisites are mentioned.

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/zyj999-abc/crypto-reverse-mcp'

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