Skip to main content
Glama

Agent Data Tools: Utilities

Caesar cipher, ROT13: shift letters by any amount

text_caesar
Read-only

Encode or decode text with a Caesar cipher: every letter A-Z shifted by 1-25 places (13, the default, is ROT13), case kept, digits and punctuation untouched. decode=true shifts back. Use for puzzles, spoiler hiding and teaching; it is not encryption. Example: text=Hello, World!. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "text_caesar"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text
shiftNoPlaces to shift, -25 to 25 (default 13 = ROT13)
decodeNotrue to shift back

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / shift / maximum
      Previous value: -9007199254740991New value: +25
    • changedInput schema / properties / shift / minimum
      Previous value: --9007199254740991New value: +-25
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that case is preserved, digits and punctuation are untouched, decode=true reverses the shift, and that 'reads or computes only and changes nothing.' It also explains the non-obvious idempotentHint=false by clarifying that each call is charged, so repeats are not free — resolving what would otherwise look like a contradiction for a pure function.

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?

Front-loaded with the operation and its exact semantics, with pricing and side-effect disclaimers trailing. It is a dense single paragraph using colons and semicolons effectively, though the billing detail could be tightened without losing information.

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?

For a 3-parameter pure text transform with no output schema, the description supplies the transformation rules, the default, the inverse operation, and the cost model. The only mild gap is that the return shape (a shifted string) is implied rather than stated.

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 already 100%, so the baseline is 3, but the description adds meaning the schema does not: that shift=13 is ROT13 by name and that decode=true performs the inverse shift. It stops short of explaining the loose string/number/boolean typing of decode, which the schema leaves implicit.

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?

States a specific verb ('Encode or decode') and resource ('text with a Caesar cipher'), then defines the exact transformation: letters A-Z shifted 1-25 places, 13 being ROT13. This is unambiguously distinct from siblings like text_morse or text_diff without needing to inspect a schema.

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?

Explicitly names intended use cases ('puzzles, spoiler hiding and teaching') and sets a boundary ('it is not encryption'), so an agent knows when the output is not security-appropriate. It does not name a specific sibling alternative, but the domain scope is narrow enough that this matters little.

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