Skip to main content
Glama

Apply fix

apply_fix
Read-onlyIdempotent

Generate a structural fix pack for a public domain. Public calls stay dry-run (no writes). Set dryRun false only with an operator key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublic domain or https URL to inspect (for example example.com or https://example.com). Localhost and private IPs are blocked.
domainNoAlias of url. Use either url or domain, not both.
dryRunNoWhen true (default) only preview the pack. Writes stay off on the public endpoint.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
filesNoProposed files in the dry-run pack
domainNo
dryRunYesPublic endpoint always true — no files are written

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true, but the description states that setting dryRun false (with an operator key) can enable writes. This directly contradicts the read-only annotation, making the tool's behavioral profile inconsistent and potentially misleading.

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?

Two sentences, front-loaded with purpose and followed by a critical safety constraint. No unnecessary words or repetition.

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?

The description covers the main purpose and dry-run safety, and the schema handles parameter details like blocked IPs. However, the contradiction with readOnlyHint leaves the write behavior ambiguous, undermining completeness.

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 coverage is 100%, so baseline is 3. The description adds crucial semantics for dryRun by requiring an operator key to disable dry-run mode, which is not present in the schema, elevating the score.

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's function: 'Generate a structural fix pack for a public domain.' This is a specific verb+resource combination and differentiates it from siblings like audit_url or list_fixes.

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?

Provides clear usage context: public calls are dry-run by default, and writes require setting dryRun false with an operator key. This tells the agent when and how to safely use the tool, though it doesn't explicitly name alternatives.

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.

Resources