Skip to main content
Glama

Purge Nginx Cache

purge_nginx_cache
Idempotent

Delete nginx proxy cache entries for the given host and paths (e.g. host='pt.neeblo.com', uris=['/llm.txt', '/sitemap.xml']). Pass paths without query string. The next request for a purged path goes to origin and re-fills the cache.

Input Schema

NameRequiredDescriptionDefault
hostYes
urisYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing the post-purge consequence: 'The next request for a purged path goes to origin and re-fills the cache.' That explains the recoverable nature of the operation and is consistent with idempotentHint=true and destructiveHint=false. Missing auth/permission requirements and behavior for paths that were never cached.

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?

Three tight sentences: the action and scope first, the parameter constraint second, the runtime consequence last. No filler and every sentence contributes information an agent needs.

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 low-complexity, two-parameter mutation with no output schema, the description covers what is purged, how to format inputs, and what happens afterward. Remaining gaps (permissions, partial-failure behavior across the uris array, return value) are modest at this complexity level.

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 0%, so the description must carry the burden and largely does: it gives a concrete example (host='pt.neeblo.com', uris=['/llm.txt','/sitemap.xml']) that shows host format (bare domain, no scheme) and URI format (leading slash, array of paths), plus the constraint to omit query strings. A minor gap remains on whether URIs are host-relative or absolute.

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?

States a specific verb and resource ('Delete nginx proxy cache entries') plus the scoping dimensions ('for the given host and paths'), which distinguishes it from broad siblings like purge_website_cache_all or clear_page_cache without naming them. It never explicitly contrasts itself with the many other cache-clearing tools, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied by the scoping ('for the given host and paths') and the instruction 'Pass paths without query string.' There is no explicit when-to-use vs. when-not, and no routing guidance against the numerous cache siblings (clear_page_cache, purge_cache_group, purge_website_cache_all, list_cache_flush), which is the main risk in this toolset.

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.