Skip to main content
Glama

intercept

Block, mock, modify, or hold live browser requests and responses by rule, with the first matching rule taking effect.

Instructions

Intercepta requests en vivo. Bloquea, responde con mock, modifica request o response, o retiene para decidir después. Gana la primera regla que coincide.

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": {
      "action": "<action>"
    },
    "name": "intercept"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
ruleNo
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full disclosure burden. It does add one real behavioral fact (first matching rule wins) and hints that 'hold' defers the decision, but it omits whether rules persist, whether they apply per tab or globally by default, what happens to a held request, and what permissions or side effects are involved. For a live-traffic mutation tool this is thin.

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?

Two short sentences with zero filler, and the core capability is front-loaded. It is efficient, though the compression contributes to the coverage gaps noted elsewhere rather than being a model of completeness.

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

Completeness2/5

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

This is a complex tool: nested rule objects, four top-level parameters, enums, no output schema, and no annotations. The description does not explain how to list or remove existing rules, what 'id' or 'tabId' do, or how held requests surface in intercept_paused, so an agent cannot confidently invoke more than the 'add' case.

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 only 25% and the top-level parameters (id, tabId, and especially action with add/list/remove/clear) receive no explanation in the description. The listed verbs map onto the nested rule.action enum, whose values are already documented in the schema, so the description adds little beyond what the structured fields already say.

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?

The description uses a specific verb and resource ('Intercepta requests en vivo') and enumerates the rule-level outcomes: block, mock fulfill, modify request/response, hold. However, it never states that the tool itself manages a rule set (the required action enum add/list/remove/clear) and it does not distinguish itself from siblings such as network_capture or intercept_paused.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no named alternative. The sibling intercept_paused is the obvious counterpart for reviewing held requests, yet the description never mentions it, leaving the agent to infer the workflow. 'Gana la primera regla que coincide' describes matching behavior, not when to choose this tool.

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