Skip to main content
Glama
kanishka-namdeo

electron-mcp-server

get_navigation_history

Retrieve navigation history entries for the current page via CDP Page.getNavigationHistory. Use it to inspect back and forward URLs during Electron app testing.

Instructions

Get navigation history entries for the current page using CDP Page.getNavigationHistory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

C2.9/5.0
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 behavioral burden. 'Get' implies a non-destructive read, but it says nothing about return shape, whether history is ordered, whether it includes the current index, or any session/auth requirements.

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?

A single front-loaded sentence with no filler; the resource and scope come first, and nothing is redundant. Appropriately sized for a simple one-parameter read.

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 read tool with one parameter and no output schema, the definition is minimally viable but leaves return content and sessionId semantics unexplained. It covers the core operation but not enough for an agent to anticipate results.

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?

There is one required parameter (sessionId) with 0% schema description coverage, and the description adds no meaning about it (e.g., which browser session it identifies or how to obtain it). The description fails to compensate for the coverage gap.

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 ('Get') and resource ('navigation history entries') scoped to 'the current page', and even names the underlying CDP method. It implicitly contrasts with the sibling restore_navigation_history, but never names or addresses it explicitly.

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 guidance on when to use this versus the closely related restore_navigation_history or navigate, nor any prerequisites or context about scenarios. The agent must infer usage entirely.

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