Skip to main content
Glama

tksq_agent_prompt

Retrieve a ready-made system prompt snippet for child or parent agents to compress outputs and enable pipeline-wide token optimization in multi-agent workflows.

Instructions

Get a ready-made system prompt snippet for multi-agent token optimization. Returns instructions that tell agents to compress their output via tksq. Include the returned text in agent system prompts to enable pipeline-wide compression.

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": {
      "role": "<role>"
    },
    "name": "tksq_agent_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesAgent role. child=agent returning results to parent, parent=orchestrating agent
styleNoCompression style. default=balanced (medium level), aggressive=maximum compression

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It makes clear the tool returns static instructional text rather than performing compression itself, which is the key behavioral distinction. It does not state whether the call has side effects, auth requirements, or whether the returned text varies by role/style at runtime.

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?

Three short sentences, front-loaded with the outcome and followed by the usage instruction. There is minor overlap between the first sentence and the closing instruction, but nothing is wasted or 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?

A simple two-parameter getter with no output schema; the description explains both what comes back (instruction text) and what the caller should do with it. Given the fully documented enum schema, an agent has enough to invoke it correctly, with only runtime variability of the snippet left unstated.

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 both parameters are enums with documented values, so the schema already explains role (child/parent) and style (default/aggressive). The description adds no further meaning about how these parameters affect the returned snippet. Baseline 3 applies when the schema does the heavy lifting.

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: 'Get a ready-made system prompt snippet for multi-agent token optimization.' The agent understands the tool produces text, not a computation or metric. It does not name a sibling (e.g. tksq_configure, tksq_compress) for contrast, so differentiation is inferred rather than stated.

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?

Guidance is about what to do with the result ('Include the returned text in agent system prompts') rather than when to call this versus an alternative. 'Multi-agent' implies the context of use, but there is no explicit exclusion or precondition such as single-agent setups where it is unnecessary.

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