Skip to main content
Glama
snipeit-mcp

snipeit-mcp

by l0cky12

Restore deleted record

restore
Idempotent

Reverses soft deletion for Snipe-IT records, including hardware, users, models, and manufacturers, by specifying the resource type and ID.

Instructions

Restore a soft-deleted record. Snipe-IT supports this for hardware, users, models and manufacturers.

Input Schema

NameRequiredDescriptionDefault
idYes
resourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful context by clarifying that this reverses a soft delete rather than recreating a record, but says nothing about permissions, error behavior for non-deleted ids, or what the response contains.

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?

Two short sentences with the action front-loaded and no filler. The second sentence is compact but its resource list is the weakest part and does not earn its place given the schema enum.

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 two-parameter mutation with no output schema, the description covers the core semantics of soft-delete restoration. It is still missing prerequisites (record must be soft-deleted), permission expectations, and confirmation of what a successful restore returns.

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?

Schema description coverage is 0%, so the description carries the full burden, and it does not explain the id (integer, positive) or the resource enum. Worse, its claim that restore works for hardware, users, models and manufacturers conflicts with an enum offering eighteen resources, which could steer an agent away from valid calls.

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?

"Restore a soft-deleted record" states a specific verb and resource, and "soft-deleted" distinguishes it from create/update siblings. The second sentence, however, narrows support to four resource types when the schema enum lists eighteen, which muddies the stated scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no mention of how to obtain the id of a deleted record, and no routing against siblings like delete, update, or create. The only implied usage comes from the word "soft-deleted".

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