Skip to main content
Glama

clear_cookies

Remove cookies from an Insomnia cookie jar, either all cookies or only those for a specific domain, to reset session state or isolate requests.

Instructions

Clear all cookies (or just cookies for a specific domain) from a cookie jar.

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": {
      "jar_id": "<jar_id>"
    },
    "name": "clear_cookies"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOnly clear cookies for this domain
jar_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. "Clear all" does usefully signal that this is a destructive, non-additive operation and discloses the granularity of what gets removed, but it says nothing about irreversibility, what happens to a jar_id that doesn't exist, or whether the jar persists afterward.

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?

One sentence, front-loaded with the action and scope, with the optional variant in parentheses where it belongs. Nothing is wasted or buried.

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?

For a simple two-parameter destructive tool with no output schema, the core action and scope are covered. The gap is the undocumented required jar_id and the absence of any note on failure or irreversibility, which matter more here because nothing else supplies them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: the domain parameter is documented in the schema and mirrored in the description, but the required jar_id has no description anywhere. The description adds no meaning about what a jar is, how to obtain a jar_id, or what an invalid one does.

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 names a specific verb and resource ("Clear all cookies") and scopes it to a cookie jar, with an explicit all-vs-domain variant. That separates it from add_cookie and export_cookies, though it never names a sibling directly.

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: the parenthetical tells the agent a per-domain mode exists, but there is no statement of when to clear a whole jar versus one domain, nor any prerequisite such as the jar needing to exist. The agent must infer the choice from the parameter list.

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