Skip to main content
Glama

Migrate semantic embedding model

migrate_semantic_embeddings
Destructive

Inspect or migrate the organization's concept embedding space. action='status' is read-only; preview, start and cancel require owner. preview estimates cost and reports potential collisions; review them before authorizing start. target_model is required for preview/start; source_model and concept_types scope the move. Starting launches billed background re-embedding while enrichment continues, then switches the selected slices after coverage is complete. Cancel marks the transition cancelled; it does not guarantee interruption or rollback of in-flight work. Returns migration status or preview. See enricher://docs/semantic-ids.

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": {
      "action": "<action>"
    },
    "name": "migrate_semantic_embeddings"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesstatus | preview | start | cancel
source_modelNoEmbedding space to move; omitted = the org's current default.
target_modelNoComposite key (provider::model) to move to. Required for preview/start.
concept_typesNoRestrict the move to these concept types; empty = the whole space.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), the description discloses that starting launches billed background re-embedding, that enrichment continues concurrently, that slices switch only after coverage completes, and that cancel marks the transition cancelled without guaranteeing interruption or rollback. These are exactly the operational and cost consequences an agent would otherwise have to guess at.

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 content is front-loaded with the purpose and immediately followed by per-action behavior, with zero filler sentences. Some sentences are long and carry multiple clauses (billing, concurrency, switching, cancellation), which slightly increases parsing effort but each clause is load-bearing.

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?

For a destructive, billed, multi-step migration tool this covers permissions, cost implications, concurrency behavior, cancellation limits, and a documentation pointer (enricher://docs/semantic-ids). With an output schema present, it correctly does not spend words describing return structures beyond noting that status or preview is returned.

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% and the schema already states that target_model is required for preview/start and that source_model defaults to the org's current default. The description restates those relationships ('target_model is required for preview/start; source_model and concept_types scope the move') without adding syntax or constraints, so it meets the baseline but adds little.

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?

The description opens with a specific verb pair and resource: 'Inspect or migrate the organization's concept embedding space,' and it enumerates the four actions so an agent knows exactly which capability is exposed. It does not, however, differentiate the read-only 'status' mode from sibling read tools like get_semantic_concept or list_semantic_concepts, leaving a small ambiguity about which inspection path to take.

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?

Usage is well-scoped per action: status is read-only, preview/start/cancel require owner, and the agent is told to review preview collisions 'before authorizing start.' It gives clear context for sequencing (preview then start) but stops short of explicitly naming alternatives for the inspection case, so it is strong rather than exhaustive.

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.