Skip to main content
Glama

electron_cdp_performance

Get Electron app performance metrics including navigation timing and memory usage to diagnose bottlenecks and monitor resource consumption.

Instructions

Get performance metrics from the Electron app including timing and memory

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

Input Schema

NameRequiredDescriptionDefault
actionYesAction: get general metrics, navigation timing, or memory info

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and does little with it. It implies a read-only retrieval and hints at content (timing, memory), but says nothing about prerequisites (CDP session attachment, app state), whether metrics are a snapshot or cumulative, units/format, or any limits on what is captured.

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?

One front-loaded sentence with no filler; every clause carries information. It is lean to the point of thinness, but nothing is redundant or poorly ordered.

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 one-parameter read tool with no output schema and no annotations, the description is minimally adequate: it names the domain and the two headline metric categories. It falls short on prerequisites, metric granularity, and what the returned data looks like, which an agent would need before invoking it confidently.

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?

There is a single required parameter fully documented by the schema, whose enum descriptions spell out all three modes (get general metrics, navigation timing, memory info). The description echoes two of those modes (timing, memory) but adds no meaning beyond the schema, which is the expected baseline at 100% coverage.

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 pairs a specific verb ("Get") with a specific resource ("performance metrics from the Electron app") and scopes the content to "timing and memory." That distinguishes it reasonably from sibling CDP domains like console, network, and evaluate, though it never names an alternative to make the contrast explicit.

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?

It states what the tool returns but gives no guidance on when to reach for it: no mention of when performance inspection is appropriate versus electron_cdp_network or electron_cdp_console, no prerequisites such as needing an attached CDP session or a launched app, and no when-not conditions. Usage must be inferred entirely from the tool name and the words "performance metrics."

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