Skip to main content
Glama

task_add

Creates a new practice exercise in a study-path session for a chosen learning node, with prompts, tiered hints, and answer-checking settings.

Instructions

出一道题(日常段的原料)。hints 给三级提示,只指方向不给答案。

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": {
      "session_id": "<session_id>",
      "node_code": "<node_code>",
      "prompt": "<prompt>"
    },
    "name": "task_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
hintsNo
termsNo
due_atNo
promptYes
samplesNo
node_codeYes
task_kindNo
assessmentNo
ref_answerNo
session_idYes
est_minutesNo
verificationNo
practice_roleNo
problem_familyNo
transfer_contextNo
transfer_criterionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It does reveal one genuine behavioral rule — hints are three-level and directional only, never answering the question — which is useful. But it says nothing about mutation effects, required permissions, what verification/assessment/ref_answer fields cause to happen, or what the tool returns, which is a major gap for a 17-parameter creation tool.

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?

Two short sentences with no padding, front-loading the core action before the hint policy. It is efficiently written, though for a tool with 17 parameters the size is arguably too small rather than too large, and the parenthetical scope note is cryptic.

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

Completeness1/5

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

The tool has 17 parameters, nested objects, two enums, no annotations, and no output schema, yet the description explains only the creation act and a single hint-behavior rule. An agent could not determine how to fill verification, assessment, practice_role, or transfer fields from this definition.

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% across 17 parameters, so the description must compensate and it does so for essentially one field: hints (an array of strings) is clarified as three-level directional hints, implying a length of three. The other fifteen parameters — verification, assessment, ref_answer, practice_role, transfer_criterion, samples, est_minutes, due_at — receive no semantic explanation at all.

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 verb and resource ('出一道题' – create a problem) and adds the scope '日常段的原料', so an agent can tell this is a create/populate tool rather than a fetch tool like task_next. It falls short of a 5 because the domain jargon '日常段' is undefined and nothing distinguishes it explicitly from siblings such as task_drop.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: no mention of when a task should be added versus read (task_next) or removed (task_drop), no prerequisites, and no note about session state. The only usage context is the vague phrase '日常段的原料', which requires prior knowledge of the workflow.

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