Skip to main content
Glama

tksq_configure

Read or update text-compression configuration settings, returning current values without arguments and persisting specified changes when options are provided.

Instructions

Read or update tksq configuration. Without arguments, returns current settings. With arguments, updates the specified settings and persists them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tksq_configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoDefault compression level
domainNoDefault dictionary domain
languageNoDefault language. auto=detect from text (default), en=English, ru=Russian
tokenizerNoDefault tokenizer
preserve_patternsNoDefault preserve patterns (replaces existing)
custom_substitutionsNoCustom word substitutions to add (merged with existing)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description does disclose the key trait that updates are persisted rather than session-scoped, and that only "specified settings" change (implying partial update). It omits whether writes require elevated permissions, whether there is any validation failure mode, and it leaves the replace-vs-merge distinction to the schema rather than stating it behaviorally.

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?

Two short sentences, the read path first and the write path second, with the default behavior front-loaded. Nothing is wasted or repeated.

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?

All parameters are optional and fully documented in the schema, and there is no output schema, so the one line about returning current settings suffices for return behavior. Minor gap: merge-vs-replace semantics for preserve_patterns and custom_substitutions live only in the schema and could have been surfaced.

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 coverage is 100% with descriptive text and enums for all six optional parameters, so the baseline is 3. The description adds only the generic phrase "specified settings" and contributes no semantics beyond the schema's per-field descriptions.

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-resource pair ("Read or update tksq configuration") and explains the dual mode triggered by argument presence. This clearly separates it from siblings like tksq_compress or tksq_count, though it never names them explicitly.

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?

The two-mode rule (no args = read, args = update) tells the agent exactly when the tool behaves as a getter vs a setter, which is the only meaningful branch here. There are no exclusions or pointers to alternative tools, but no sibling clearly overlaps configuration management.

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