Skip to main content
Glama

tier_ingest

Compress raw Markdown, JSON, or log output into TIER, auto-detect the format, and return a full document, L0 index, or token-budgeted priority view. Use max_tokens to cap context and save_as to persist the artifact.

Instructions

Compress raw Markdown, JSON, or command/log output into TIER on the fly. Auto-detects the format. Returns the full TIER document, its L0 index, or a budgeted view with only priority sections. Use max_tokens to cap context; save_as persists the full artifact.

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": {
      "content": "<content>"
    },
    "name": "tier_ingest"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoauto
contentYesraw Markdown, JSON, or log text
save_asNooptional .tier path under the server root
index_onlyNo
max_tokensNooptional context budget

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful behavior: format auto-detection, three distinct return shapes, a context budget, and that save_as persists a full artifact under the server root. It omits important details for a tool that writes files — overwrite semantics for an existing .tier path, size limits, and whether the ingested document is retained server-side.

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 compact sentences, front-loaded with the core action, then return modes, then the two most consequential parameters. Almost every clause earns its place; 'on the fly' is the only padding.

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?

With five parameters, no annotations, and no output schema, the description does the necessary work: it enumerates the three possible return shapes and covers the two parameters the schema leaves thin. Remaining gaps are edge-case behaviors (overwrite, errors, limits) rather than anything needed to make a first correct call.

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 60% and index_only has no schema description at all. The description compensates: 'Auto-detects the format' explains format=auto, 'Use max_tokens to cap context' explains the budget parameter, 'save_as persists the full artifact' clarifies the write side effect, and 'Returns ... its L0 index' gives index_only meaning. This is real added value beyond the schema, though it stops short of stating what save_as does when the path already exists.

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?

States a specific verb and resource: compress raw Markdown, JSON, or command/log output into TIER. The three return modes (full document, L0 index, budgeted view) further pin down what the tool produces. It does not explicitly differentiate itself from siblings like tier_slice or tier_index, even though the 'L0 index' return mode sits close to tier_index's territory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the return-mode list and the note that max_tokens caps context, so an agent can infer when the budgeted view is appropriate. However, there is no explicit when-to-use/when-not guidance and no named alternative for cases like retrieving an existing artifact (tier_get) or extracting a section (tier_slice).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.