restore_session
Restore a saved session into the browser at cdp_url. Cookie values are not returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| cdp_url | Yes | ||
| identity_id | No | Identity to use. Omit when the account has exactly one identity. |
Restore a saved session into the browser at cdp_url. Cookie values are not returned.
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| cdp_url | Yes | ||
| identity_id | No | Identity to use. Omit when the account has exactly one identity. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It does disclose one useful behavior ('Cookie values are not returned'), but omits whether existing browser state is overwritten, whether it requires a live CDP connection, what happens if the session is stale, and what the response actually contains.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the action and destination, zero filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, no annotations, and low parameter coverage mean the description should do more. Critical gaps remain: the return payload shape, the precondition that a session must already be saved, and failure behavior for an unreachable cdp_url.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33% — identity_id is documented, but 'site' and 'cdp_url' have no descriptions. The description only clarifies that cdp_url points at the target browser, and leaves 'site' (domain? URL? identifier?) entirely undefined.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Names a specific verb+resource ('Restore a saved session') and the destination ('into the browser at cdp_url'), which pairs clearly with the sibling save_session. It doesn't explicitly name save_session as the counterpart, but the semantics are unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use guidance or alternatives are given. The phrase 'a saved session' weakly implies a prior save_session call, but nothing states prerequisites, when not to use it, or how it relates to save_login/fill_login flows.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.