Skip to main content
Glama

set_media

Toggle media loading on a browser tab to block images, videos, and web fonts for fast text-only browsing, or re-enable them when full page rendering is needed.

Instructions

Toggle media loading (images, videos, web fonts) on a tab. enable_media=False blocks heavy media for fast text-only browsing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNo
enable_mediaNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it leaves key behaviors unstated: whether the setting applies to the current tab when omitted, whether it persists across navigation, and whether a reload is needed for the change to take effect. The one behavioral fact it does give — that disabling blocks heavy media — is useful but thin for a state-mutating browser control.

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 short sentences with the core action first and the motivating use case second; every clause carries information and there is no filler.

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?

An output schema exists, so return values need not be described, and the tool is simple. However, for a per-tab state mutation with no annotations and zero schema descriptions, the definition omits tab targeting semantics and the effect/persistence of the change, leaving real gaps.

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 description coverage is 0%, so the description must compensate for two parameters. It explains enable_media reasonably (False blocks heavy media), but says nothing about the tab parameter, including that its default of -1 presumably targets the current tab — a meaningful ambiguity for a multi-tab tool.

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 concrete action and resource — toggling media loading on a tab — and enumerates what counts as media (images, videos, web fonts), which implicitly separates it from nearby tools like set_animations. It stops short of any explicit sibling differentiation, and 'toggle' is slightly loose for what the schema shows as a boolean set operation.

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?

The second sentence supplies one clear use case (enable_media=False for fast text-only browsing), which is genuine when-to-use guidance. There is no when-not guidance, no mention of what is lost when media is blocked beyond the obvious, and no mention of alternatives or preconditions.

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