Skip to main content
Glama

Update project

update_project
DestructiveIdempotent

Fill in or change a project: a project without a target URL (the one a new workspace starts with) is set up here with target_url, the login gate and allow_hosts, then, for an app with a sign-in, credentials go in with put_variables. Also changes a project's login gate, extra hosts, target URL, name, narration, default device or 3D recording — typically after a run failed with error code login_failed ("Sign-in didn't go through") and the gate needs a selector or text instead of a URL fragment, or with page_check_failed (a page without a sign-in did not show the gate's text) and the text needs to be words the page always shows. Only the fields given are changed; passing all three gate fields empty is refused.

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": {
      "project_id": "<project_id>"
    },
    "name": "update_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
fadeNoHalf-second fade in at the start and out at the end.
nameNoNew project name.
frameNoDefault frame for phone/tablet videos: portrait, landscape (widescreen 16:9) or none (full screen).
voiceNoNarration voice id from list_voices.
deviceNoDefault device for this project's videos: desktop, or a phone/tablet preset (desktop, iphone, iphone-max, android, android-large, ipad, ipad-pro, android-tablet).
three_dNo3D recording, +10 credits per minute of video: turn it on when the app draws 3D graphics (WebGL: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start.
backdropNoDefault backdrop behind the phone frame: neutral or brand.
cta_textNoCall to action on the ending for this project; empty uses the Brand one.
languageNoNarration language code from list_voices.
app_localeNoBCP-47 code of the app's interface language; empty string clears it.
project_idYesThe project to change (from list_projects).
target_urlNoNew login or home page URL (https). The host must be attested; create_project attests a new host.
title_lineNoWhat the narrator says over the opening, up to 100 characters of plain words; {title} is replaced by each guide's video title. Empty speaks the title.
allow_hostsNoReplaces the list of other sites the recording may open as pages (a sign-in on a separate domain); background requests (API, CDN) need no list.
ending_styleNoEnding style. "clip" needs a clip uploaded in the app.
bookends_modeNoOpening and ending: "default" uses the workspace Brand settings, "custom" uses the values below (Pro and up).
narrate_titleNoThe narrator speaks a line over the opening (Pro and up); by default the video title.
opening_styleNoOpening style. "clip" needs a clip uploaded in the app.
ending_secondsNoEnding length, 3 to 10 seconds.
opening_secondsNoOpening length, 3 to 10 seconds.
login_success_textNoVisible text present only when signed in; for a page without a sign-in, words the page always shows.
login_success_selectorNoCSS selector visible only when signed in.
login_success_url_containsNoURL fragment seen only after login.

Output Schema

NameRequiredDescriptionDefault
nameYes
outputYesDefault device settings after the change.
three_dYes3D recording is on for this project (+10 credits per minute of video).
bookendsYesOpening and ending settings after the change (mode, opening, ending, cta_text, narrate_title, title_line, fade).
login_gateNourl_contains, text and/or selector now in force.
project_idYes
target_urlYes
allow_hostsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / allow_hosts / description
      Previous value: -"Replaces the list of extra hosts the app talks to."New value: +"Replaces the list of other sites the recording may open as pages (a sign-in on a separate domain); background requests (API, CDN) need no list."
  2. Changed1 schema field changed
    • changedInput schema / properties / login_success_text / description
      Previous value: -"Visible text present only when signed in."New value: +"Visible text present only when signed in; for a page without a sign-in, words the page always shows."
  3. Changed2 schema fields changed
    • changedInput schema / properties / three_d / description
      Previous value: -"3D recording, +5 credits per minute of video: turn it on when the app draws 3D graphics (WebGL: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start."New value: +"3D recording, +10 credits per minute of video: turn it on when the app draws 3D graphics (WebGL: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start."
    • changedOutput schema / properties / three_d / description
      Previous value: -"3D recording is on for this project (+5 credits per minute of video)."New value: +"3D recording is on for this project (+10 credits per minute of video)."
  4. Changed1 schema field changed
    • changedInput schema / properties / three_d / description
      Previous value: -"3D recording, +5 credits per minute of video: turn it on when the app draws 3D graphics (WebGL or WebGPU: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start."New value: +"3D recording, +5 credits per minute of video: turn it on when the app draws 3D graphics (WebGL: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start."
  5. Changed3 schema fields changed
    • addedInput schema / properties / three_d
      Added value: +{
      +  "description": "3D recording, +5 credits per minute of video: turn it on when the app draws 3D graphics (WebGL or WebGPU: maps, globes, product viewers, games, 3D charts), so they move smoothly in the video. Leave it off for ordinary apps. Tell the user that 3D recordings take a few minutes longer to start.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / three_d
      Added value: +{
      +  "description": "3D recording is on for this project (+5 credits per minute of video).",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "project_id",
      -  "name",
      -  "target_url",
      -  "allow_hosts",
      -  "output",
      -  "bookends"
      -]New value: +[
      +  "project_id",
      +  "name",
      +  "target_url",
      +  "allow_hosts",
      +  "output",
      +  "three_d",
      +  "bookends"
      +]
  6. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With destructiveHint=true and idempotentHint=true already declared, the description still adds real substance: partial-update semantics ('Only the fields given are changed') and a validation rule (all three gate fields empty is refused). It also notes the target_url host must already be attested. It does not discuss whether other settings are reset or what the response contains, but the output schema covers returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and nearly every clause carries information, but it is delivered as two long, dash-heavy run-on sentences that are hard to parse. The error-code examples could be tightened without losing content.

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 23-parameter mutation with full schema coverage, annotations and an output schema, the description supplies the missing behavioral glue: partial update, gate-field validation, host attestation and the error-recovery workflow. Only minor gaps remain, such as how the allow_hosts replacement interacts with an existing attested host.

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 the baseline is 3, but the description goes further by describing the interlock among login_success_selector, login_success_text and login_success_url_contains (they cannot all be empty) and the constraint that target_url's host must be attested. That is meaning beyond the per-field schema text.

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?

Names the specific resource and the exact operation ('Fill in or change a project') and splits the two cases: provisioning a fresh project with target_url/login gate/allow_hosts versus editing fields on an existing one. It also distinguishes itself from create_project (host attestation) and put_variables (credentials), so an agent can separate it from siblings without reading schemas.

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?

Gives concrete triggers to call it (a run failing with login_failed or page_check_failed) and explains what to change in each case, plus which sibling to use instead for credentials (put_variables) or a new host (create_project). When-not guidance is implicit but the alternative routing is explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.