Skip to main content
Glama
ykovenskiy-hub

Purl MCP Server

get_script_history

Access the edit history of any script to recover code lost in previous updates, each entry includes timestamp, prompt, and full code snapshot.

Instructions

Get the MCP edit history of a specific script — all past versions written via update_script, most recent last. Use this to recover code that was accidentally wiped by a previous edit. Each entry shows the timestamp, the user prompt that triggered the edit, and the full code snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of most-recent entries to return. Defaults to 10. Pass 0 to return all entries.
targetYesObject name (e.g., "Player") or "cell:CellName" for cell scripts
cellNameNoOptional: restrict object lookup to this cell when the same object name exists in multiple cells.
scriptNameNoScript name on the object/cell. Defaults to "Main".
Behavior4/5

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

With no annotations, the description carries the full burden. It states the history comes from update_script, is ordered most recent last, and each entry includes timestamp, user prompt, and full code snapshot. This adds meaningful behavioral detail, though it doesn't explicitly confirm read-only behavior or discuss pagination/rate limits.

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?

Three focused sentences: purpose, use case, and return structure. No wasted words, well front-loaded.

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?

No output schema exists, so the description's explanation of each entry (timestamp, user prompt, full code snapshot) is essential and provided. The tool is a straightforward history lookup, and with 100% schema coverage, the description is complete enough.

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

Parameters3/5

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

Schema coverage is 100%, so all parameters have descriptions. The tool description adds no extra parameter-specific meaning beyond what the schema already provides, making the baseline 3 appropriate.

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 clearly states the tool gets the MCP edit history of a specific script, with past versions most recent last. This distinguishes it from sibling tools like get_script (current script) and search_scripts (search).

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?

The description provides an explicit use case: 'Use this to recover code that was accidentally wiped by a previous edit.' It does not mention exclusions or alternatives, but the context is clear enough to know when it applies.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ykovenskiy-hub/purl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server