Skip to main content
Glama

Save code

save_code
Read-onlyIdempotent

The player's save code: three words and a number that bring this game back in another app or on another device (when connecting LoreHack there, choose "I have a save code"). For when the player asks how to continue elsewhere, or for their code. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_code"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond that: the returned format, the cross-app/cross-device purpose, the UI instruction ('I have a save code'), and the fact that it costs nothing ('Free'), which matters in a game where other actions consume turns or resources.

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?

The resource is front-loaded and the whole definition is two short sentences. The parenthetical about LoreHack's connection prompt is slightly long, and 'Free.' is a sentence fragment, but both carry information and nothing is redundant.

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?

With no output schema, the description carries the burden of describing the return value and does so ('three words and a number'). For a no-parameter read tool, that plus the usage trigger is close to complete; only the relationship to world_save is left implicit.

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?

The tool takes zero parameters, so there is no schema semantics for the description to supplement; the baseline of 4 applies. Nothing in the description misrepresents the input contract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the specific resource (the player's save code) and even its shape ('three words and a number'), so an agent knows this returns an existing code rather than creating one. It does not explicitly distinguish itself from the sibling world_save, which an agent might confuse with saving/restoring progress.

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?

It gives a concrete trigger: 'For when the player asks how to continue elsewhere, or for their code.' That is a clear usage context with no misleading exclusions, though it never states when NOT to use it (e.g., versus world_save).

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