Skip to main content
Glama
extentos

extentos

regenerateConnectionPageFile

Regenerates the committed connection-page file from the server config after dashboard edits, returning the file content to write. Use after configuration changes to sync the repo; pass projectPath to detect overwrites.

Instructions

Regenerate the committed extentos.connection-page.json FROM the dashboard/server config (file ← server) — the generated mirror that makes the dashboard's tokens real in the repo and lets the app theme correctly offline. Returns file: { path, content } for you to write (it carries a generated _comment marker — do not hand-edit; edits belong in the dashboard). If the project is UNMANAGED (no server config) there is nothing to mirror. Pass projectPath to get a drift note when an existing committed file would be overwritten. Android-only for now (iOS file-sync is Phase 4). USE after setConnectionPageConfig / dashboard edits to sync the repo. DON'T USE to push local edits up (use adoptConnectionPageFile).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformNoDefaults to android. iOS file-sync is Phase 4 — returns a not_supported message for now.
appPackageYesThe app's package / bundle id (project_install_id).
projectPathNoAbsolute path to the project root. Optional — when given, enables an overwrite/drift note if a committed file already exists.
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 explains the generation direction, the returned file structure with a _comment marker and warning against hand-editing, the drift note behavior when projectPath is given, and the platform limitation. It does not explicitly mention idempotency or required permissions, but overall it is fairly transparent.

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?

The description is about 6 sentences, each providing necessary context. It is front-loaded with the main action and distinguishes from siblings. While slightly verbose, it is efficient and well-structured, earning a 4.

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?

Given no output schema, the description adequately explains the return value (file object with path, content, _comment marker) and the offline theming purpose. It covers the key scenarios and platform limitations. However, it could mention error cases (e.g., unknown appPackage), but overall it is fairly complete.

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 coverage is 100%, so baseline is 3. The description adds value by clarifying the platform default and iOS constraint, and by explaining the optional projectPath enables a drift note. This goes beyond the schema descriptions, justifying a 4.

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 clearly states the verb 'Regenerate' and the resource 'committed extentos.connection-page.json', and explains the direction (from server config to file). It distinguishes from the sibling tool adoptConnectionPageFile, which does the reverse direction. The purpose is specific and unambiguous.

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

Usage Guidelines5/5

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

Explicit usage guidance is provided: 'USE after setConnectionPageConfig / dashboard edits to sync the repo. DON'T USE to push local edits up (use adoptConnectionPageFile).' It also notes that the tool is Android-only and that unmanaged projects have nothing to mirror. This gives clear when-to-use and when-not-to-use advice.

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/extentos/mcp-server'

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