Skip to main content
Glama

Get a copy-paste fix

get_fix_snippet
Read-onlyIdempotent

Returns deterministic, copy-paste code for one audit check on one stack. No network access. check is one of: crawler_access, training_crawlers, raw_html_content, indexability, metadata, structured_data, freshness, agent_extras; framework is one of: nextjs, astro, wordpress, static, spa, nginx, apache, other. Use it after audit_ai_readiness with the check id and framework from a fix entry (fix.snippetId and fix.framework).

Input Schema

NameRequiredDescriptionDefault
checkYesCheck id from an audit result (fix.snippetId)
frameworkNoStack of the site. Defaults to other (generic).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered and "No network access" largely restates openWorldHint=false. "Deterministic" is a genuinely useful trait beyond the annotations, but there is no note on behavior for unsupported check/framework combinations or fallback handling.

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-loaded with the value proposition, then the allowed values, then the invocation rule — a sensible order. The inline re-enumeration of check and framework duplicates the schema and is the only expendable content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, two-parameter, fully schema-documented tool this covers purpose, precondition, valid inputs and rough return shape (deterministic copy-paste code) with no output schema needed. Minor gap: nothing about what happens when the requested combination has no snippet.

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 the enum values themselves are already documented; the description adds provenance by tying check to fix.snippetId and framework to fix.framework, which tells the agent where to obtain valid values. Repeating the full enum lists is redundant with the schema, but the cross-tool linkage is real added meaning.

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 — returns copy-paste code for one audit check on one stack — and positions itself as the follow-up to audit_ai_readiness, which no sibling does. An agent can tell immediately that this is the snippet-retrieval tool rather than an audit or crawl-check tool.

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?

"Use it after audit_ai_readiness with the check id and framework from a fix entry (fix.snippetId and fix.framework)" gives an explicit ordering rule and names the exact source of the parameter values. It stops short of stating when not to call it (e.g., when no fix entry exists) or naming an alternative.

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