Skip to main content
Glama
HorizunGroup

Horizun PBI MCP

by HorizunGroup

pbi_recover_from_journal

Restore original files from a journal with preview and conflict detection. Verify byte-by-byte integrity and recreate missing directories.

Instructions

Restaura los originales guardados en un journal. DESTRUCTIVA.

Sin confirm devuelve la VISTA PREVIA: que archivos se restaurarian, cual es su estado actual y si alguien los cambio despues.

Estados: recoverable, recovered, conflict, incomplete, corrupted. Si un archivo cambio despues de la transaccion, se rechaza con recovery_conflict en vez de pisar ese trabajo; force_conflict lo aplica de todas formas.

Cada archivo se verifica byte a byte tras restaurarlo, y se recrean los directorios padre que hubieran desaparecido.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
journalYes
request_idNo
force_conflictNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses the destructive nature, conflict handling, byte-by-byte verification, and recreation of parent directories. It also explains the `recovery_conflict` rejection and `force_conflict` override, providing rich behavioral details beyond what any annotation could.

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?

The description is concise yet comprehensive. Each sentence adds valuable information: destructive warning, preview behavior, states, conflict handling, verification, and directory recreation. The front-loaded 'DESTRUCTIVA' immediately signals the most important trait. No filler or redundancy.

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?

Despite no annotations, the description covers all essential aspects: safety (destructive), preview, conflict states, force behavior, and post-restoration verification. With an output schema present, the lack of return format details is acceptable. The description is fully self-sufficient for an agent to understand when and how to invoke it.

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 description coverage is 0%, but the description adds meaning for key parameters: it explains that `confirm` toggles between preview and actual restoration, and `force_conflict` overrides conflicts. `journal` is self-evident from context. Only `request_id` is not explicitly described, but the overall compensation is strong.

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 uses a specific verb 'restaura' (restore) with a clear resource ('originales guardados en un journal'), and explicitly labels the operation as DESTRUCTIVA. This distinguishes it from sibling tools like pbi_inspect_journal (inspect) and pbi_purge_backups (purge), making the tool's purpose unmistakable.

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 gives clear usage context: without `confirm` it returns a preview, and with `confirm` it performs restoration. It also explains when `force_conflict` is relevant. However, it doesn't explicitly name alternatives or state when not to use this tool, so it stops short of a perfect score.

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/HorizunGroup/horizun-pbi-mcp'

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