Skip to main content
Glama

Update Persona

update_persona
DestructiveIdempotent

Edit a audience segment on a Site or Topic. Read get_scan_config.personas for definitions and IDs. Preserves item ID and omitted fields; name must be nonblank and unique. Null clears description and aliases. Refreshes active stable-ID prompt labels. Returns the saved public item (null after removal) and complete working scanConfig. Does not launch a Scan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
itemIdYesSaved definition ID from get_scan_config; not a GUID.
siteIdYesSite or Topic ID from list_sites_and_topics.
aliasesNo
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
summaryYes
scanConfigYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true) it discloses concrete mutation semantics: item ID and omitted fields are preserved, name must be nonblank and unique, null clears description and aliases, and active stable-ID prompt labels are refreshed as a side effect. The 'null after removal' note explains the destructive path, consistent with destructiveHint=true.

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?

Five short, front-loaded sentences with essentially no filler; the constraints and side effects are stated before the return-value note. The return-value sentence ('saved public item ... and complete working scanConfig') partially duplicates the output schema, which costs it a point.

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 focuses correctly on what structured fields cannot convey: ID/field preservation, null-clears semantics, uniqueness constraints, label-refresh side effects, and the explicit 'does not launch a Scan' boundary. Nothing material for a correct invocation is missing.

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 description coverage is only 40%, so the description has to carry weight and does: it explains name's uniqueness/nonblank constraint and the null semantics of description and aliases — details absent from the schema. It adds nothing beyond the schema for siteId/itemId, but those are already documented in the schema properties.

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?

Starts with a specific verb+resource ('Edit an audience segment on a Site or Topic') and immediately scopes it to the persisted persona record keyed by itemId. Against siblings like create_persona and remove_persona, an agent can tell instantly what this does. The pointer to get_scan_config.personas for definitions/IDs reinforces the identity of the resource.

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

Usage Guidelines4/5

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

Provides the prerequisite lookup ('Read get_scan_config.personas for definitions and IDs') and explicitly rules out a common misread with 'Does not launch a Scan.' It does not spell out when to prefer remove_persona over a null-field update, but the sibling names make that inference cheap.

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