Skip to main content
Glama

cognitive.compose_strategies

Skill Composition: synthesize a composite multi-stage StrategyIR from primitive strategies.

Chains multiple specialized skills (e.g. Graph Coloring + Topological Sort + Allocation)
into a compound pipeline with explicit stage transitions and end-to-end verification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNo
strategy_idsYes
composite_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. It hints at behavioral aspects (explicit stage transitions, end-to-end verification) but does not disclose side effects, prerequisites, reversibility, or required permissions. For a synthesis tool this is a meaningful gap.

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?

The description is two sentences, front-loaded with the core purpose. It is efficient and avoids redundancies, though the second sentence adds an example without delving into detail.

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

Completeness2/5

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

Given the tool's complexity (synthesizing a composite pipeline) and zero schema coverage, the description is insufficient. It does not explain what constitutes a primitive strategy ID, how stages are defined, or any constraints on inputs. The presence of an output schema partially relieves the need to describe returns, but input semantics remain under-specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It mentions chaining skills and composite StrategyIR but does not explain what strategy_ids should contain, how composite_name is used, or the role of the optional description parameter. Only generic context is provided.

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 specific action ('synthesize a composite multi-stage StrategyIR from primitive strategies') and identifies the resource (strategies). It distinguishes from siblings like propose_strategy or execute_task by focusing on composition, though it doesn't name alternatives explicitly.

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?

It implies usage when chaining multiple specialized skills is needed, and mentions explicit stage transitions and verification. However, it does not state when not to use it or name alternative tools, leaving the decision partially to inference.

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.

Resources