Skip to main content
Glama
HamerCode

CityDPC-MCP

by HamerCode

take_snapshot

Save the current CityJSON or CityGML dataset state as a snapshot for later rollback. Provide a description to label the snapshot.

Instructions

Erstellt einen Snapshot des aktuellen Dataset-Zustands.

Wie ein Git-Commit: Speichert den aktuellen Zustand für spätere Rollbacks.

Args: description: Beschreibung des Snapshots

Returns: dict: Informationen über den erstellten Snapshot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully communicates that the operation captures current state (non-destructive, rollback-oriented), but omits overwrite semantics, snapshot limits, persistence, or permissions. Adequate but incomplete for a mutation tool with zero annotation coverage.

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 core behavior, and the Args/Returns block is tidy in the conventional docstring style. The Returns line is somewhat redundant given an output schema exists, but the overall size is appropriate.

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?

For a one-parameter mutation tool with no annotations, the description explains the essential effect and purpose, and an output schema already covers return values. The remaining gaps are the undocumented parameter semantics and the absence of any when-to-use guidance relative to save_dataset/rollback_to_snapshot siblings.

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

Parameters2/5

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

The single parameter has 0% schema description coverage, and the description only says 'description: Beschreibung des Snapshots', which merely restates the parameter name. No format, length, or whether it is optional/default behavior is conveyed, so it fails to compensate for the schema gap.

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 ('Erstellt einen Snapshot des aktuellen Dataset-Zustands') and reinforces it with a concrete analogy ('Wie ein Git-Commit'). An agent can immediately distinguish this from siblings like rollback_to_snapshot or save_dataset without inspecting schemas.

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: the phrase 'für spätere Rollbacks' hints at when snapshots are used, but the description never says when to call this vs alternatives such as save_dataset, get_dataset_history, or rollback_to_snapshot. The agent must infer the pairing with rollback_to_snapshot.

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