Skip to main content
Glama

task_classify

Read-only

Classify a work prompt as trivial, standard, or complex with a recorded reason, so tasks are scoped correctly before work begins and non-trivial ones get decomposed.

Instructions

Classify a work prompt as trivial|standard|complex — recorded, with reason.

Every prompt MUST be classified before work starts. Pass level to record the agent's own classification; omit for the heuristic opinion. Non-trivial prompts require task_decompose before edits.

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": {
      "prompt": "<prompt>"
    },
    "name": "task_classify"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNo
promptYes
reasonNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations it discloses real behavior: the result is persisted ('recorded, with reason'), there is a heuristic fallback path when `level` is omitted, and the outcome gates later work by requiring task_decompose for non-trivial prompts. The word 'recorded' sits in mild tension with readOnlyHint=true, though it plausibly refers to internal workflow state rather than environment mutation, so it is not a clear contradiction. It does not say whether repeated calls overwrite or append prior classifications.

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?

Four short lines, front-loaded with the verb and resource, then the hard precondition, then argument mechanics. Nearly every clause earns its place; the trailing conditional about task_decompose is useful but slightly buried at the end.

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?

An output schema exists, so return values need no explanation, and the description covers the workflow gate and the level/omit semantics. For a three-parameter classification tool the remaining gaps are small: `reason` semantics and repeat-call behavior are the only meaningful omissions.

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 0%, so the description must carry parameter meaning, and it does add two things the schema lacks: the accepted values trivial|standard|complex for `level`, and the omit-to-use-heuristic convention. However, `reason` is only name-dropped ('with reason') with no statement of purpose, optionality, or format, and `prompt` is left entirely implicit.

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 ('Classify a work prompt') and enumerates the outcome domain (trivial|standard|complex), plus notes the classification is recorded with a reason. It does not explicitly contrast itself with siblings beyond naming task_decompose as the downstream step, so it stops short of a 5.

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?

Gives an explicit, non-optional trigger ('Every prompt MUST be classified before work starts'), explains the choice between recording the agent's own verdict versus taking the heuristic opinion by omitting `level`, and states the conditional next step ('Non-trivial prompts require task_decompose before edits'). When-to-use, how-to-choose, and what-follows are all covered.

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