Skip to main content
Glama

cookies_get

Read browser cookies through existing debugger permissions, filtered by domain or URL, to inspect session data for the active tab or a specified tab.

Instructions

Read cookies via the existing debugger permission, filtered by domain or URL.

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": "cookies_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
tabIdNoOptional browser tab id to act on instead of the focused tab.
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful trait: the read relies on an existing debugger permission, which is a real prerequisite an agent should know. It says nothing about the return shape, whether an unfiltered call returns all cookies, or how tabId changes scope.

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?

A single sentence with no wasted words, and the core action plus the filtering mechanism is front-loaded. It is close to optimal for the amount of information given.

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 3-parameter read tool with no annotations and no output schema, the description covers the action and permission basis but leaves the default behavior with zero filters and the returned data structure unaddressed. Adequate but with identifiable 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 coverage is 33%, with only tabId documented, so the description must compensate. Mentioning 'filtered by domain or URL' does map onto the two undocumented filter parameters, but it does not explain the difference between them, their precedence, or the interaction with tabId.

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 (read) and resource (cookies) and adds the operative constraint that filtering is by domain or URL. It is clearly distinguishable from the sibling cookies_set, though the differentiation comes from the verb itself rather than an explicit contrast.

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 implied only: the agent can infer this is the read-side counterpart to cookies_set and that a domain or url narrows results. There is no statement of when to prefer this over siblings, no prerequisites, and no note on what happens when neither filter is supplied.

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