Skip to main content
Glama

karea_close_task

Marks a task as done by updating its status to done and recording the close time. Reports any unmet closing requirements unless confirmation is given.

Instructions

Mark a task as done: sets status to done and stamps the close time. Reports any unmet closing requisites first unless confirm is set. To close several tasks at once use karea_done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesTask name, visual ID, or UUID
toolTypeNoOptional: your AI provider ("claude-code" / "opencode" / "codex" / "cursor" / "aider" / "other"). Required when aiSessionId is supplied.
projectIdNoProject name or ID
resolutionNoHow it was resolved
aiSessionIdNoOptional: your current AI CLI session ID. When paired with toolType, atomically links this session to the affected task (equivalent to calling karea_link_session, but saves the round-trip). For Claude Code use the id from `claude --resume`.
sessionLabelNoOptional short label for the linked session (e.g. "Feature draft").
Behavior4/5

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

No annotations provided, but description details key behaviors: sets status, stamps time, reports unmet requisites. Does not mention side effect of linking session via aiSessionId/toolType, which is only in schema. Description is consistent and informative.

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?

Two sentences with no wasted words. Front-loaded with primary action, followed by conditional behavior and alternative tool reference.

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?

Covers core behavior adequately but missing explanation of the non-existent 'confirm' parameter and does not clarify behavior when requisites are unmet (e.g., does it still close?). With 6 parameters and no output schema, more detail on expected response would help.

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 100%, so baseline is 3. However, description mentions a 'confirm' parameter that does not exist in the input schema, causing confusion. No additional value beyond schema descriptions.

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?

Description clearly states the tool marks a task as done, sets status to done, stamps close time, and reports unmet requisites. It distinguishes from sibling karea_done by specifying that tool is for closing several tasks at once.

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?

Explicitly states when to use this tool (close a single task) and when to use alternative (karea_done for multiple tasks). Implies confirm parameter for bypassing requisites, though confirm is not in schema.

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/starecz/karea-mcp'

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