Skip to main content
Glama

Bake Profile

bake_profile

Save the current browser session into a profile by opening a URL and waiting for you to log in, then closing the window to capture the authenticated state for reuse.

Instructions

プロファイルに新しい状態(ログイン等)を焼き付ける。headfulでブラウザを起動し、

ユーザーがウィンドウを閉じるまで待機する(SPEC.md 4節)。

method: "auto"(既定、$DISPLAYの有無で自動判定)/ "display"(ディスプレイに直接表示。 SSHのssh -X経由でも可) / "cdp"(ディスプレイが無い環境向け。Remote Debugging ポートを開き、手元のブラウザからリモート操作する) start_url: 最初に開くURL(例: ログインページ)。省略時は白紙タブ cdp_host/cdp_port: method="cdp"時のbind先。閉域網内のアドレスを明示的に指定すること timeout_seconds: この時間ブラウザが閉じられなければタイムアウトして強制終了する

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoauto
profileNodefault
cdp_hostNo127.0.0.1
cdp_portNo
start_urlNo
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/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. It discloses blocking behavior (waits until user closes window), timeout with force termination, headful execution, and remote debugging bind requirements. It doesn't state whether existing profile state is overwritten or how persistent the bake is, but the mutating meaning is clear.

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?

Purpose is front-loaded, followed by workflow behavior, then a compact semicolon-separated parameter list. Every sentence conveys actionable information; no fluff or repetition. The SPEC.md reference is brief and doesn't bloat the description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 6 optional params, no annotations, and an output schema, the description covers the core workflow and most parameter semantics well. The main gape are that 'profile' is not explained and the behavior depends on an external SPEC.md section that may not be accessible to the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics for method, start_url, cdp_host/cdp_port, and timeout_seconds, including defaults, ssh -X behavior, and the closed-network bind warning. However, the 'profile' parameter is not described at all, leaving part of the schema under-explained.

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?

Description states a concrete action: baking a new state (e.g. login) into a profile, and explains the interactive headful workflow. This clearly differentiates it from read-only siblings like search and fetch_page, and from import_profile, because it explicitly covers browser launch and waiting for user action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit method selection rules: auto based on $DISPLAY, display for direct display (including ssh -X), and cdp for display-less environments. It also gives timeout and start_url context. It doesn't explicitly state when to prefere bake_profile over import_profile or fetch_page, so it stops short of a full 5.

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

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/antigravity-press/search-mcp'

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