Skip to main content
Glama

Ask CodeGene to change a site

request_change

Asks CodeGene's Builder for a change to a project: new content, a design change, a new feature, or something broken to fix. It is a QUESTION for the person, never a start: the person approves it, in a prompt your client shows them (when it can) or on the CodeGene page whose link the answer gives. Never approve or answer it yourself, and never tell the person it is done until get_approval says so. Once approved, a plan comes back first, and nothing on the site changes until the person approves that plan in CodeGene. Use list_tasks or get_task to follow it. If a prompt you expected never appeared, do not ask again: call get_approval with the requestId from an earlier answer, or ask with finish_with set to "link" next time.

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>",
      "title": "<title>",
      "reason": "<reason>"
    },
    "name": "request_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesA short request in the person's own words, such as "Add a contact form to the home page".
detailNoWhat the person described: what they want, where it goes and anything that matters. Leave out when the title says it all.
reasonYesWhy, in a sentence: kept in the workspace's activity.
project_idYesThe project to change (list_projects gives ids).
attachmentsNoFiles the change carries, by the attachment ids upload_task_files answered (att_...): a design's own folder as one zip, pictures, PDFs.
finish_withNoLeave out. "link" skips the approval prompt and returns the CodeGene page to send the person, for an assistant that cannot show prompts from a tool.
workspace_idNoThe workspace (whoami lists them). May be left out when the connection has only one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, non-open-world write; the description adds the substantive behavior: an approval prompt is shown to the person, a plan comes back before anything changes, and the site stays untouched until the plan is approved. It also discloses the fallback mode when a client cannot render prompts, which the annotations do not cover.

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?

Purpose is front-loaded in the first sentence and every subsequent sentence carries a workflow rule or prohibition. The final sentence is dense and slightly convoluted in packing both the get_approval retry and the finish_with escape hatch, but nothing is truly expendable.

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 seven-parameter, approval-gated mutation with no output schema, the description covers the full lifecycle from request to plan approval and follow-up. It only implies the shape of the answer (a requestId or a link) rather than stating what the call returns, leaving a small gap for an agent that must parse the response.

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 schema already explains title, detail, reason, project_id, attachments, finish_with, and workspace_id. The description still adds situational meaning for finish_with (use "link" next time when a prompt never appeared) that the schema documents only mechanically, though it says nothing extra about attachments or workspace_id.

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?

States a specific verb and resource ('Asks CodeGene's Builder for a change to a project') and enumerates the request types it covers (content, design, feature, fix). This clearly separates it from mutation siblings like change_dashboard or set_site_protection, which act directly rather than filing an approval-gated request.

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 when-to-use and when-not-to-use guidance: it is 'a QUESTION for the person, never a start,' the agent must never approve or answer it, and must not report completion until get_approval says so. It names concrete alternatives and recovery paths (list_tasks, get_task, get_approval with requestId, finish_with="link") for the case where the approval prompt never appeared.

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.

Resources