Skip to main content
Glama

x402node_crypto_aes-encrypt

Encrypt plaintext using AES-256-GCM symmetric encryption. Returns IV, ciphertext, and authentication tag for authenticated data protection.

Instructions

AES encryption / AES-256-GCM / symmetric encryption / authenticated encryption / data encryption / secure encryption / cipher / encrypt string. Encrypt plaintext using AES-256-GCM with a 32-byte key. Returns IV, ciphertext, and authentication tag.

Price: unknown on Base (auto-paid in USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ivNoOptional 12-byte IV in hex (default: random)
keyYes32-byte key in hex (64 hex chars) or base64 (required)
plaintextYesText to encrypt (required)
Behavior2/5

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

No annotations are present, so the description must fully disclose behavior. It mentions the algorithm and return values but omits potential errors, performance implications, or any destructive actions. The inclusion of an irrelevant price note adds noise.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is cluttered with a list of keywords and an irrelevant price statement. While the core instruction is clear, the extras reduce conciseness and could be confusing.

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?

Given no output schema, the description should fully explain the return structure. It mentions IV, ciphertext, and tag but not their format (e.g., hex or base64) or if they are bundled. This incomplete specification, combined with irrelevant content, limits 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 parameters are well-documented. The description adds context about the algorithm and key size but does not significantly enhance understanding beyond the schema, meeting the baseline for this dimension.

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 explicitly states the tool encrypts plaintext using AES-256-GCM with a 32-byte key, clearly distinguishing it from siblings like the decrypt tool. The purpose is specific and unambiguous.

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?

No guidance on when to use this tool versus alternatives is provided. The description lacks context for appropriate usage scenarios or exclusions, leaving the agent to infer from the tool name and sibling list.

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/x402node/x402-mcp'

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