Skip to main content
Glama

Correct file permissions

spinupwp_correct_file_permissions
DestructiveIdempotent

WRITE: reset a site's files and folders to the permissions and ownership SpinupWP recommends (usually after a manual upload as the wrong user). Can take a while on big sites. Asynchronous: returns an event_id. POST /sites/{id}/file-permissions/correct.

Input Schema

NameRequiredDescriptionDefault
site_idYesSpinupWP site id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the async execution model, the return value (event_id), and the latency caveat ('can take a while on big sites'), which lets the agent plan around polling spinupwp_get_event. It also spells out exactly what gets mutated (permissions and ownership), consistent with destructiveHint=true.

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-loads the WRITE marker and the core action, then layers the caveat and async contract in two tight sentences. The trailing REST path (POST /sites/{id}/file-permissions/correct) is somewhat redundant for an agent but is short and does not bloat the text.

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?

With no output schema, the description correctly compensates by stating that an event_id is returned. Combined with the async note, latency warning, and mutation scope, an agent has everything needed to invoke and follow up on this tool.

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?

Only one parameter (site_id) and schema description coverage is 100%, so the schema already documents it fully. The description adds no syntax, format, or constraint detail beyond what the schema provides, making 3 the appropriate baseline.

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 ('reset a site's files and folders to the permissions and ownership SpinupWP recommends') and leads with a WRITE marker. No sibling tool touches file permissions, so it is trivially distinguishable from deploy/restart/purge siblings.

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?

Gives a concrete trigger condition ('usually after a manual upload as the wrong user'), which tells the agent when this tool is the right call. It stops short of naming an alternative or stating when not to use it, so it is clear context rather than full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.