Skip to main content
Glama

Splitters Create Logical

splitters.create_logical
Idempotent

Creates an inactive logical splitter draft for mixed PDF attachments. sourceInboxId binds it to one inbox; null applies to project uploads. Routing uses project routing rules. The draft becomes active only after publication.

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

Input Schema

NameRequiredDescriptionDefault
nameYesSplitter name, unique within the project.
configYesLogical splitting configuration.
descriptionNoNotes about the splitter's purpose.
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
splitterYesThe created draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • addedInput schema / properties / config / description
      Added value: +"Logical splitting configuration."
    • addedInput schema / properties / config / properties / boundaryConfidenceThreshold / description
      Added value: +"Model confidence, as a percentage, below which a section boundary counts as uncertain; 75 when omitted."
    • addedInput schema / properties / config / properties / instructions / description
      Added value: +"Guidance for the splitting model on how to recognize where one section of a combined PDF ends and the next begins."
    • addedInput schema / properties / config / properties / maxSegments / description
      Added value: +"Maximum number of sections the model may return for one document; more fails the split. 50 when omitted."
    • addedInput schema / properties / config / properties / mode / description
      Added value: +"Identifies a logical configuration, where a model detects section boundaries."
    • addedInput schema / properties / config / properties / reviewUncertainBoundaries / description
      Added value: +"When true, a split is held for review if any boundary is uncertain: unassigned pages, overlapping sections, or a boundary below the confidence threshold."
    • addedInput schema / properties / config / properties / reviewUncertainDestinations / description
      Added value: +"Records whether sections with an uncertain destination table should be held for review. Destination review itself follows the confidence thresholds of the project routing rules."
    • addedInput schema / properties / config / properties / routingMode / description
      Added value: +"Routes each detected section through the project routing rules."
    • addedInput schema / properties / config / properties / sectionTypes / description
      Added value: +"Kinds of sections to detect. An empty list lets the model discover section types itself."
    • addedInput schema / properties / config / properties / sectionTypes / items / properties / description / description
      Added value: +"Hints that help the model recognize this section type."
    • addedInput schema / properties / config / properties / sectionTypes / items / properties / key / description
      Added value: +"Stable identifier for the section type, such as bank_statement."
    • addedInput schema / properties / config / properties / sectionTypes / items / properties / name / description
      Added value: +"Display name for the section type."
    • addedInput schema / properties / config / properties / sourceInboxId / description
      Added value: +"ID of an inbox in this project, as listed with the project's inboxes, whose emailed attachments the splitter handles once published; null applies it to documents uploaded to the project."
    • addedInput schema / properties / description / description
      Added value: +"Notes about the splitter's purpose."
    • addedInput schema / properties / name / description
      Added value: +"Splitter name, unique within the project."
    • 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."
    • addedOutput schema / properties / splitter / additionalProperties
      Added value: +{}
    • addedOutput schema / properties / splitter / description
      Added value: +"The created draft."
    • addedOutput schema / properties / splitter / properties
      Added value: +{
      +  "config": {
      +    "additionalProperties": {},
      +    "description": "Current draft configuration in the same shape as the create input for this mode, with server defaults filled in.",
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "created_at": {
      +    "description": "ISO 8601 time the splitter was created, or null when unknown.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "description": {
      +    "description": "Optional description.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "draft_revision": {
      +    "description": "Current draft revision; pass it as expected_draft_revision when updating or publishing.",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "id": {
      +    "description": "Splitter ID.",
      +    "type": "string"
      +  },
      +  "latest_version": {
      +    "description": "Latest published version number; 0 when never published.",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "mode": {
      +    "description": "page_range for fixed page ranges, or logical for model-detected sections.",
      +    "type": "string"
      +  },
      +  "name": {
      +    "description": "Splitter name.",
      +    "type": "string"
      +  },
      +  "status": {
      +    "description": "draft (never published), published, or archived.",
      +    "type": "string"
      +  },
      +  "updated_at": {
      +    "description": "ISO 8601 time the splitter was last changed, or null when unknown.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / splitter / required
      Added value: +[
      +  "id",
      +  "name",
      +  "description",
      +  "mode",
      +  "status",
      +  "draft_revision",
      +  "latest_version",
      +  "config",
      +  "created_at",
      +  "updated_at"
      +]
    • addedOutput schema / properties / splitter / 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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so safety is covered. The description adds genuinely non-obvious behavior — the object is created inactive and only takes effect after publication — which is the key operational fact. It says nothing about permissions, failure modes, or what happens on duplicate names beyond the schema's uniqueness note.

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?

Four short sentences, front-loaded with the creation semantics and lifecycle. The clause "Routing uses project routing rules" mildly duplicates the config's routingMode const 'project_rules', but nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create tool with a deeply nested config (mode, sectionTypes, thresholds), a 100%-covered schema, and an output schema, the description covers purpose, inbox binding, routing, and the draft-to-active lifecycle. Only permission and error behavior are absent, which is acceptable given the rich schema and annotations.

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?

With 100% schema description coverage, the schema already documents every parameter in detail. The description restates only sourceInboxId semantics (inbox binding vs. null for project uploads) and routing behavior, which the schema already states at length, so the added meaning over structured fields is marginal.

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 and resource: "Creates an inactive logical splitter draft for mixed PDF attachments." It scopes the tool to mixed PDFs and to the logical mode, which implicitly separates it from the page-range splitter sibling, but it never names that alternative so the agent must infer the distinction.

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 supplies clear workflow context: the result is a draft, it only becomes active after publication (pointing at splitters.publish), routing follows project rules, and sourceInboxId null means project uploads. It stops short of stating when to prefer this over splitters.create_page_range or when to use splitters.update_logical instead of re-creating.

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.