Skip to main content
Glama

Vigenere cipher

hopi_vigenere_cipher
Read-onlyIdempotent

Encode or decode text with the classic Vigenere cipher using a keyword. Each letter is shifted by the matching keyword letter (A is 0 to Z is 25), the keyword repeating across the message. Only A to Z letters are changed and case is preserved; numbers, spaces and punctuation pass through unchanged and do not advance the keyword. The keyword uses only its letters. Decoding reverses the shift. Source: https://hopi.co.uk/vigenere-cipher/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe keyword (only its A to Z letters are used)
modeNo'encode' to apply the cipher, 'decode' to reverse it (default encode)encode
textYesThe text to transform

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputYes
summaryYes
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / required
      Added value: +[
      +  "output",
      +  "source_url",
      +  "summary"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond the readOnly/idempotent annotations by explaining the shift mapping, keyword repetition, case preservation, pass-through of non-letters, and the fact that non-letters do not advance the keyword. This is exactly the behavioral detail an agent needs.

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 compact and front-loaded with the core action, then expands into the few algorithmic details that matter. Every sentence contributes useful information, and the source link is a harmless addition.

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?

For a single-algorithm transform tool, the description covers all necessary context: operation, keyword semantics, character handling, and decode behavior. Since an output schema exists, not detailing the return shape is acceptable.

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

Parameters5/5

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

Although the schema already covers all three parameters, the description adds meaningful semantics: how the keyword repeats, how letters map to shifts, how non-letters are handled, and how decoding reverses the process. This is valuable beyond the schema's short field descriptions.

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 states the exact operation (encode or decode) and the exact algorithm (classic Vigenere cipher using a keyword). This is specific enough to distinguish it from cipher siblings like hopi_caesar_cipher and hopi_cipher_identifier.

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?

Usage is only implied by the algorithm name and behavior; there is no explicit statement of when to choose this tool over an alternative such as Caesar cipher. An agent can infer the use case, but the description does not provide explicit routing or exclusions.

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.

Resources