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

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.

TDQS

A4/5.0
Disambiguation2/5

The tool set has significant overlap: audit_url and rescore_url both run the same structural audit, and list_fixes vs apply_fix both generate fix packs (with apply_fix differing only by optional write access). This blurs boundaries and forces agents to rely on subtle wording to choose correctly.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (apply_fix, audit_url, check_health, get_brief, list_fixes, rescore_url). The verbs are distinct and clearly indicate the action, making the naming predictable and easy to parse.

Tool Count5/5

With 6 tools, the server is well-scoped for its purpose. Each tool covers a specific step in the audit-to-fix workflow without excessive bloat or noticeable omissions.

Completeness4/5

The core workflow is covered: audit (audit_url/rescore_url), brief (get_brief), and fixes (list_fixes/apply_fix), plus health check. Minor gap: no explicit tool to view detailed individual recommendations or manage applied fixes, but agents can work around this using the available outputs.

Resources