Skip to main content
Glama

get_active_context

Retrieve the active Taskwarrior context filter. Shows the context name and filter expression currently applied to task queries.

Instructions

Show the currently active Taskwarrior context filter. Read-only.

A context automatically applies a filter to all task queries. Returns the active context name and its filter expression, or indicates no context is active. An active context narrows the output of list_tasks and get_task_report automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's read-only nature, its return value (name and filter expression or no context), and its effect on other tools. This is comprehensive and adds significant value beyond the structured data.

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 description is clear and informative, but it is slightly verbose with repeated emphasis on 'automatically'. It could be tightened without losing meaning, but overall it is well-structured and front-loaded.

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

Completeness5/5

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

Given the zero parameters and presence of an output schema, the description covers all necessary aspects: purpose, return value, side effects, and relationship to sibling tools. It is fully complete for an agent to understand usage.

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

Parameters4/5

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

The tool has no parameters, so the description does not need to add parameter detail. The description is consistent with the input schema (empty) and the baseline score of 4 is appropriate.

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 uses a specific verb 'Show' and resource 'currently active Taskwarrior context filter', clearly distinguishing it from sibling tools that operate on tasks directly. It precisely conveys the tool's function without ambiguity.

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?

The description explains the read-only nature and the tool's role in narrowing output of other tools (list_tasks, get_task_report). It implies when to use it (when context info is needed) but does not explicitly state alternatives or when not to use it, which would improve clarity.

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/GabiUp2/TaskChampion_MCP'

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