Skip to main content
Glama
Magic Lane MCP DevKit Server

Magic Lane MCP DevKit Server

Official
by magiclane

Update Project

update_project
DestructiveIdempotent

Changes a project's name, description, allowed web origins, empty-origin setting, or offline maps key—only fields you send change; origins replaces the full list.

Instructions

Change a project: name, description, origins, allowEmptyOrigin and/or offlineMapsKey (at least one). Only the fields sent change; origins replaces the whole list (read the project first with get_project and send the full new list to add or remove one origin); "" clears the description. Requires "Projects: Read & write". Disabling or deleting projects, hidden projects and reading the offline maps key itself are only possible in the developer portal.

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

Input Schema

NameRequiredDescriptionDefault
nameNoProject name, 6–64 characters, no line breaks or tabs; unique in the account.
originsNoWeb origins allowed to use the project's API keys; replaces the whole list, [] clears it. Each entry is either http:// or https:// + host + optional :port + optional trailing / (no path, query or credentials; IPv6 in brackets, international names in xn-- form), or a wildcard like "*.example.com". Up to 100; no duplicates (case and default ports are ignored when comparing).
projectIdYesProject id (UUID), from list_projects or create_project.
descriptionNoDescription, up to 1000 characters. "" clears it.
offlineMapsKeyNoOffline maps key: letters, digits and -._~ only. Only for accounts with offline maps. Write-only: it is never returned, only hasOfflineMapsKey.
allowEmptyOriginNoAllow requests without an Origin header (native apps, servers). The portal default is true.

Output Schema

NameRequiredDescriptionDefault
idYesProject id (UUID).
nameYesProject name.
originsYesWeb origins allowed to use the project's API keys.
descriptionYesProject description.
allowEmptyOriginYesWhether requests without an Origin header are allowed.
hasOfflineMapsKeyYesWhether an offline maps key is set; the key itself is never returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, but the description adds the crucial PATCH semantics — only sent fields change — and the destructive surprise that origins replaces the whole list rather than appending. It also discloses the required permission scope ('Projects: Read & write') and the empty-string clearing behavior for description, none of which annotations convey.

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?

Front-loads the mutable field list, then layers constraints and exclusions in a single dense paragraph with no filler. The semicolon/parenthetical chaining makes it slightly hard to scan, but every clause carries operational meaning.

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

Completeness5/5

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

With an output schema present, the description needn't explain return values, and it covers everything else an agent needs: partial-update semantics, list-replacement hazard, permission requirements, and out-of-scope operations. Nothing material is missing for a destructive 6-parameter mutation.

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 already 100%, so the baseline is 3, but the description goes further by explaining the replace-not-merge semantics of origins and the workflow needed to add or remove a single origin, plus the "" clears-description convention. It does not add much for allowEmptyOrigin or offlineMapsKey, but the risky-origin guidance is real value beyond the schema.

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?

Opens with a specific verb+resource ('Change a project') and enumerates the exact mutable fields, so an agent can instantly distinguish it from get_project, create_project, or update_style. The scope is 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?

States the constraint that at least one field must be sent, directs the agent to call get_project first before modifying origins, and explicitly lists what cannot be done here (disabling/deleting, hidden projects, reading the offline maps key) — a genuine when-not clause pointing to the developer portal.

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