Skip to main content
Glama

plan_cognition

Read-only

Decide which cognitive operations are worth running for the situation at hand, and get back BOTH what to run and what was skipped with the reason for each. Optional: agent_id (uses that agent's expression profile), budget (cost units, default 40 — roughly every cheap check plus one reasoning call), force (gene ids to run regardless), and the signals: uncertainty, urgency, novelty, risk, goal_relevance, decision_importance (each 0..1, absent counts as 0). Use before a consequential step instead of doing everything or guessing what to skip.

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": "plan_cognition"
  }
}

Input Schema

NameRequiredDescriptionDefault
riskNoRisk signal 0..1 (absent = 0)
forceNoGene ids to run regardless of the plan
budgetNoCost budget in cost units (default 40)
noveltyNoNovelty signal 0..1 (absent = 0)
urgencyNoUrgency signal 0..1 (absent = 0)
agent_idNoID of the agent
uncertaintyNoUncertainty signal 0..1 (absent = 0)
goal_relevanceNoGoal relevance signal 0..1 (absent = 0)
decision_importanceNoDecision importance signal 0..1 (absent = 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / budget / description
      Added value: +"Cost budget in cost units (default 40)"
    • addedInput schema / properties / decision_importance / description
      Added value: +"Decision importance signal 0..1 (absent = 0)"
    • addedInput schema / properties / force / description
      Added value: +"Gene ids to run regardless of the plan"
    • addedInput schema / properties / goal_relevance / description
      Added value: +"Goal relevance signal 0..1 (absent = 0)"
    • addedInput schema / properties / novelty / description
      Added value: +"Novelty signal 0..1 (absent = 0)"
    • addedInput schema / properties / risk / description
      Added value: +"Risk signal 0..1 (absent = 0)"
    • addedInput schema / properties / uncertainty / description
      Added value: +"Uncertainty signal 0..1 (absent = 0)"
    • addedInput schema / properties / urgency / description
      Added value: +"Urgency signal 0..1 (absent = 0)"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds that the response contains both the selected operations and the skipped ones with per-item reasons, which is behavior an agent cannot infer from the annotations. It also explains what the budget number means in practice ("roughly every cheap check plus one reasoning call"). It does not clarify whether anything is executed downstream, which is the one remaining 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 purpose and the return contract are front-loaded in the first sentence, and the parameter notes follow in a compact block. It is dense but not padded, though the parameter enumeration partially repeats what the schema already states.

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?

With no output schema and nine optional parameters, the description carries the burden well: it explains the return contract (run + skipped with reasons) and the meaning of the key knobs. It does not describe how the absent-equals-zero signal semantics interact (that part is left to the schema) or the shape of the returned reason objects.

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%, so the schema already documents every parameter including defaults and the 0..1 ranges, making 3 the baseline. The description does add meaning for two of them: agent_id selects that agent's expression profile, and budget=40 is glossed as roughly all cheap checks plus one reasoning call. That lift is real but modest relative to the schema.

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 outcome: decide which cognitive operations are worth running and return both the plan and the skipped operations with reasons. That is far more specific than a name restatement. No sibling differentiation is offered, but the sibling list contains no comparable planning/cognition tool, so the ambiguity cost is low.

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?

"Use before a consequential step instead of doing everything or guessing what to skip" gives a clear trigger condition and names the two behaviors being replaced. There is no explicit when-not-to-use and no named alternative tool, so it stops short of the top score.

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.