Skip to main content
Glama

cache.set_disabled

Toggle the HTTP cache off or on to determine whether a bug is a caching artifact.

Instructions

Disable or re-enable the HTTP cache, to test whether a bug is a caching artifact.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "disabled": "<disabled>"
    },
    "name": "cache.set_disabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
disabledYes
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this is a non-readOnly, open-world mutation, and the description adds the diagnostic rationale. However, it does not disclose the scope of the change (per-target vs. global), whether the setting persists across sessions, or how to restore the previous state.

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?

A single, front-loaded sentence with zero waste: verb, resource, and purpose in one clause.

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?

Without an output schema, the description says nothing about what the call returns (e.g., confirmation, prior state) or the blast radius of the toggle. For a state-mutating tool, that leaves a meaningful gap despite the adequate annotations.

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?

Schema coverage is 67% and both handle parameters are documented in the schema. The description only implicitly clarifies that disabled=true turns caching off; it adds nothing about target_id/browser_id behavior. Baseline 3 is appropriate.

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 pair (disable/re-enable) and resource (HTTP cache), plus the diagnostic intent. It is clearly distinct from the storage.*_cache_entries siblings, though it doesn't name an alternative.

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 when-to-use condition: testing whether a bug is a caching artifact. That is a clear context, but there are no explicit exclusions or named alternatives for related cache-inspection tasks.

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

Deploy Server

Other Tools