Skip to main content
Glama

Splitters Archive

splitters.archive
DestructiveIdempotent

Stops a splitter from handling documents arriving afterward. A splitter that was ever published is archived with its version history and can no longer be edited or published; a never-published draft is permanently deleted.

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": {
      "splitter_id": "<splitter_id>"
    },
    "name": "splitters.archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
splitter_idYesID of a splitter in the selected project, as returned when it was created or listed.
project_slugNoSlug of the owned project to act on, as listed with the account's projects. When omitted, the account's single visible project is selected; omitting it fails if the account has several projects.

Output Schema

NameRequiredDescriptionDefault
resultYesArchive result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / project_slug / description
      Previous value: -"Slug of an owned project. Optional only when the account has exactly one visible project; required for accounts with multiple visible projects."New value: +"Slug of the owned project to act on, as listed with the account's projects. When omitted, the account's single visible project is selected; omitting it fails if the account has several projects."
    • addedInput schema / properties / splitter_id / description
      Added value: +"ID of a splitter in the selected project, as returned when it was created or listed."
    • addedOutput schema / properties / result / additionalProperties
      Added value: +{}
    • addedOutput schema / properties / result / description
      Added value: +"Archive result."
    • addedOutput schema / properties / result / properties
      Added value: +{
      +  "archived": {
      +    "description": "True when a previously published splitter was archived; false when a never-published draft was deleted.",
      +    "type": "boolean"
      +  },
      +  "success": {
      +    "description": "True when the splitter was removed from use.",
      +    "type": "boolean"
      +  }
      +}
    • addedOutput schema / properties / result / required
      Added value: +[
      +  "success"
      +]
    • addedOutput schema / properties / result / type
      Added value: +"object"
  2. Changed1 schema field changed
    • addedInput schema / properties / project_slug / description
      Added value: +"Slug of an owned project. Optional only when the account has exactly one visible project; required for accounts with multiple visible projects."
  3. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the crucial conditional behavior: published splitters are archived with version history and become non-editable/non-publishable, while never-published drafts are permanently deleted. This materially improves the destructiveHint annotation by specifying exactly what is preserved versus destroyed. It also clarifies the operational effect of stopping future document handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tightly written sentences with no wasted wording. The purpose is front-loaded, and the conditional outcomes are stated immediately afterward. Every sentence adds distinct 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?

With an output schema present and annotations covering safety and idempotency, the description supplies the remaining critical context: what archival means, what is retained, and when deletion instead of archiving occurs. It is complete enough for an agent to call this destructive tool correctly. The schema covers parameter details such as project_slug omission behavior.

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 input schema already fully documents splitter_id and project_slug. The description adds no parameter-specific meaning, such as format, constraints, or selection behavior, beyond what the schema provides. A baseline 3 is appropriate when the schema carries this burden.

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 states a clear operation on a splitter: stop future document handling by archiving or deleting it. The distinction between archiving a published splitter and permanently deleting a never-published draft is precise. It does not explicitly differentiate itself from sibling operations such as update, publish, or get, so it falls short of a 5.

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?

The description explains what the tool does but gives no explicit when-to-use guidance or alternatives. It does not say when an agent should choose archive over update, publish, or another lifecycle operation. The implied usage is recoverable from the behavior, but no direct guidance is provided.

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.