Skip to main content
Glama

Extend MCP

Update a classifier's draft

update_classifier
DestructiveIdempotent

Update a classifier's mutable draft (classify group): rename it and/or replace the draft config (hand-editing it? call get_documentation with https://docs.extend.ai/classification/configuration.md first). Published versions are immutable and unaffected — runs pinned to them keep working.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesClassifier ID (cl_...).
nameNoNew display name.
configNoReplaces the whole DRAFT config. Same shape and rules as config on create_classifier / classify_document.
environmentYes"TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment).
workspaceIdYesTarget workspace (ws_...). Must be a granted workspace — get_me lists the accepted values.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
createdAtNo
updatedAtNo
draftVersionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark this as non-read-only and destructive, so the description's added value is scoping the mutation: only the draft config/name changes, while published versions and runs pinned to them keep working. This prevents an agent from assuming a destructive update invalidates deployed artifacts. No contradiction with annotations.

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?

The description packs purpose, scope, and a documentation pointer into two sentences. The parenthetical phrasing ('classify group', 'hand-editing it?') is slightly compressed, but each clause carries information and there is no padding.

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 a 5-param schema, full schema documentation, an output schema, and annotations, the description covers the only semantic nuance an agent needs: draft-only mutation and published-version immutability. It also points to docs for hand-authored config. Nothing necessary for correct invocation is missing.

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%, so the baseline is 3; the description reinforces that name maps to renaming and config maps to replacing the whole draft. It adds a pointer to external documentation for config shape, but does not materially extend what the schema already provides. This is adequate without being strongly additive.

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 action ('Update') on a specific resource ('a classifier's mutable draft') and spells out what that means: rename it and/or replace the draft config. The phrase 'Published versions are immutable and unaffected' separates it from publish_classifier_version and related version tools. This is unambiguous even among many update_* siblings.

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?

Tells the agent the operation applies only to the mutable draft, not to published versions, and warns that runs pinned to published versions are unaffected. It also supplies a when-to prerequisite: if hand-editing the config, call get_documentation with the configuration link first. It does not explicitly name a sibling for publishing a new version, but the draft-vs-published distinction is enough to route the call correctly.

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