Skip to main content
Glama

Extend MCP

Publish an extractor version

publish_extractor_version

Publish the extractor's current draft config as a new immutable semver version ("1.2"-style) that runs and evaluations can pin (extract group). releaseType picks the major or minor bump; pass config to publish that config instead of the draft. Published versions never change — keep iterating on the draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExtractor ID (ex_...).
configNoPublish this config instead of the current draft. Same shape and rules as config on create_extractor / extract_data.
descriptionNoWhat changed in this version.
environmentYes"TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment).
releaseTypeYesWhich semver component to bump.
workspaceIdYesTarget workspace (ws_...). Must be a granted workspace — get_me lists the accepted values.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
configNo
versionYes
createdAtNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations provide the safety profile (readOnly=false, openWorld=true, idempotent=false, destructive=false), while the description adds important non-obvious behavior: published versions never change, the default source is the current draft, and config can override the draft. This goes beyond what the annotations alone signal.

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?

Three sentences front-load the core purpose and the immutability guarantee. There is slight redundancy between 'immutable semver version' and 'Published versions never change', but it is acceptable emphasis and every sentence contributes useful information.

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?

Given the rich schema (100% parameter coverage, output schema, enums) and annotations, the description covers the remaining contextual needs: why to publish, what happens to the draft, and the releaseType/config behavior. Nothing essential for 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 coverage is 100%, so the baseline is 3; the description goes further by explaining that releaseType selects the major/minor bump and that passing config publishes that config instead of the draft. This adds meaning beyond the schema's enum and property descriptions.

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?

The description uses a specific verb ('Publish') and a clear resource ('the extractor's current draft config') and defines the output as an immutable semver version. It distinguishes this from update-style tools by emphasizing that published versions are immutable and can be pinned by runs and evaluations.

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?

It conveys when to use it: to turn a draft into a stable, pin-able version and to continue iterating on the draft after publishing. It does not explicitly name sibling alternatives like update_extractor or publish_classifier_version, but the 'extract group' cue and immutable-version framing make the intended context clear without exclusions.

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