Skip to main content
Glama

Update Layout

update_layout
DestructiveIdempotent

Update an existing layout (replaces all fields)

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": {
      "layout_id": "<layout_id>",
      "fields": "<fields>"
    },
    "name": "update_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesNew array of field definitions (replaces existing fields; must not be empty)
layout_idYesUUID of the layout to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the replace semantics are partly covered in structured data, and '(replaces all fields)' usefully confirms it is a wholesale replacement rather than a merge. However, it does not mention permissions, whether omitted fields are lost, or what error the non-empty constraint produces beyond what the schema states.

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?

A single front-loaded clause with the destructive behavior in the most scannable position. It is efficient, though arguably thinner than an agent might want for a destructive write.

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

Completeness3/5

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

For a destructive, full-replacement mutation, the definition is minimally adequate: annotations carry the safety profile and the schema carries the field structure. It stops short of telling the agent to fetch and resend the existing fields, which is the main operational risk with this tool.

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

Parameters3/5

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

Schema description coverage is 100%, with nested field-definition properties fully documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema and largely restates the schema's own 'replaces existing fields; must not be empty' note.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource: updating an existing layout. An agent can tell this mutates a layout rather than creating one, but the description does not differentiate from siblings like create_layout or update_extraction beyond the resource noun.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus create_layout or delete_layout, and no mention of prerequisites such as reading the current field set first. The parenthetical hints that the full field array must be supplied, but this is left implicit rather than stated as a condition.

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