Skip to main content
Glama
MahyarNemati

cdp-extended-mcp

by MahyarNemati

emulate_dark_mode

Toggle prefers-color-scheme to switch between dark and light modes, enabling testing of theme-based UI.

Instructions

Toggle dark mode (prefers-color-scheme)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledYesEnable dark mode
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that it toggles dark mode affecting prefers-color-scheme, but does not disclose whether the setting is persistent, how it interacts with other emulation tools, or how to reset it. For a tool that likely mimics a system preference, this is insufficient context.

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?

The description is a single, front-loaded sentence with no unnecessary words. It effectively communicates the core purpose in minimal space, making it appropriately sized.

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 tool with one boolean parameter and no output schema, the description adequately states the primary function. However, it lacks context about persistence, reset behavior, and relationship to other emulation settings, which would help the agent understand the full impact of the tool. Given the tool's simplicity, this is a minor gap.

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?

The input schema fully covers the 'enabled' parameter with the description 'Enable dark mode', and the tool description adds no further details about the parameter's semantics. Since schema coverage is 100%, the description does not need to compensate; however, it also does not enhance parameter understanding beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Toggle' with the resource 'dark mode' and cites 'prefers-color-scheme', clearly distinguishing it from sibling emulation tools like emulate_reduced_motion or emulate_timezone. It conveys the exact behavior and scope.

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 description does not specify when to use this tool versus alternatives, discuss prerequisites, or provide exclusions. The intended use is only implied by the name and the mention of prefers-color-scheme, leaving the agent to infer when to apply it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MahyarNemati/cdp-extended-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server