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

A3.5/5.0
Behavior3/5

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

No annotations are provided so the description fully bears the transparency burden. It discloses the pipeline nature ('chains multiple specialized skills', 'explicit stage transitions', 'end-to-end verification'), giving some process insight. However, it does not state side effects, whether it persists the composite, or any authorization requirements, leaving important behavioral aspects undisclosed.

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-loads the core purpose, and includes a concrete example that aids understanding. It is efficient without unnecessary verbosity, though it could add a bit more parameter guidance without harming conciseness.

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

Completeness3/5

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

Provides a strong high-level overview, and the output schema covers return format. However, it lacks explicit parameter-level details, such as what constitutes a primitive strategy ID, whether strategies must already exist, and the role of the description field. Without annotations, these gaps reduce completeness for reliable invocation.

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 coverage is 0% and the description does not explicitly map its three parameters. It hints that strategy_ids are primitive strategies and composite_name is the composite's name via context, but the description parameter is entirely unaddressed. This minimal compensation leaves significant ambiguity for agents trying to supply correct inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('synthesize') and resource ('composite multi-stage StrategyIR'), clearly distinguishing its role from siblings like propose_strategy by focusing on composing existing primitive strategies. Includes a concrete example (Graph Coloring + Topological Sort + Allocation) that makes its function unambiguous.

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?

Implies usage when multiple primitive strategies exist, as it says 'from primitive strategies', but provides no explicit when-to-use or when-not-to-use guidance. Does not contrast with alternatives like propose_strategy or identify_task, leaving the agent to infer the selection logic.

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