Skip to main content
Glama

ck_route

Recommends an AI agent for a given task based on security tier, remaining budget, and past performance. Returns ranked recommendations with rationale.

Instructions

Recommend the best available AI agent for a given task based on security tier, remaining budget, task type, and past performance data. Read-only — no session state is changed. task is a plain-language description of what needs to be done. risk_tier (low/medium/high/critical) filters out agents that are not cleared for the security level; defaults to medium. allowed_agents restricts routing to a specific subset of agent IDs; omit to allow all. Returns a ranked list of agent recommendations with rationale. Use ck_route to pick an agent, then ck_delegate to transfer the task. Use ck_cost_optimizer for a price-focused comparison without routing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allowed_agentsNoRestrict routing to these agent IDs. Omit to allow all supported agents.
budget_remaining_centsNoRemaining session budget in cents
risk_tierNoSecurity sensitivity of the task. Default: medium
taskYesPlain-language description of the task to be performed
Behavior4/5

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

States read-only behavior and no session state change. Lacks details on rate limits or authorization but is sufficient given the tool's nature. No annotations provided, so description carries full burden.

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?

Five sentences, all valuable. Front-loaded purpose, then details, then usage comparisons. No redundant information.

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?

Explains input parameters and return value (ranked list with rationale). Could mention output structure more explicitly, but given no output schema, it is largely sufficient.

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

Parameters5/5

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

All 4 parameters have descriptions in the schema (100% coverage), and the description adds context: task is plain-language, risk_tier filters by security level, allowed_agents restricts subset. Defaults and omission behavior are clarified.

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?

The description clearly states the tool's purpose: recommending the best AI agent based on security tier, budget, task type, and past performance. It distinguishes from siblings ck_delegate and ck_cost_optimizer by specifying when to use each.

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

Usage Guidelines5/5

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

Explicit guidance is given: use ck_route to pick an agent, then ck_delegate to transfer; use ck_cost_optimizer for price-focused comparison. Default risk_tier and allowed_agents omission are noted.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aryaminus/controlkeel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server