Skip to main content
Glama

get_save_directory

Check where save_map writes maps and whether that directory exists, including the configured path and effective fallback when the setting is missing.

Instructions

Where save_map writes, and whether that directory exists.

`configured` is the user's setting (may be empty); `effective` is what will
actually be used, and `exists` describes THAT one. With no setting, it is a
`battlemap-mcp` folder inside Dungeondraft's own map directory — created
on demand, so this works with no setup and keeps generated maps separate
from hand-made ones.

`configured_missing` means the setting points at a directory that is gone.
Saving falls back to the default rather than failing, and `note` says so;
clear the setting with set_save_directory("") or point it somewhere real.

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": "get_save_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the on-demand directory creation, the fallback-to-default behavior instead of a failure, and what configured_missing indicates. It never explicitly states that this is a side-effect-free read, which is the main remaining gap.

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 a one-line statement of purpose, then short paragraphs per returned field. Slightly verbose in re-explaining the default folder rationale, but every clause adds usable information and nothing is filler.

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?

There is no output schema, so the description must explain the response, and it does: it names each returned key and its meaning, plus the recovery path when the setting is stale. For a zero-argument lookup tool this is complete.

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?

Zero parameters, so the baseline is 4; the description wisely spends its space on the returned fields (configured vs effective vs exists vs configured_missing) rather than inventing parameter detail. No parameter meaning is left ambiguous because there are none.

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 and resource ('where save_map writes, and whether that directory exists') and names the related siblings save_map and set_save_directory, so an agent can distinguish this read-only lookup from the setter and the writer. The first line is a precise scope statement rather than a restatement of the name.

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?

Usage is clear from context: this is the diagnostic to call when you need to know where maps land or why a save went somewhere unexpected, and it explicitly routes remediation to set_save_directory(""). It does not spell out a when-not-to-use case or say 'call before save_map', which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools