Skip to main content
Glama

check_active_intent

Check if a session has an active intent to track working context and detect team conflicts. If none exists, prompt the user to create one.

Instructions

REQUIRED: Call this tool BEFORE writing any code.

Returns THIS session's current intent (intent / hasActiveIntent) if one is set. If not, ask the user to confirm intent details and then call create_and_activate_intent.

Multi-active model: the active intent is PER SESSION. Many intents can be active on a repo at once — your current is independent of other sessions'/teammates'. The response also includes activeIntents: the repo's full active set (every session's current intent, with id/title/status/createdBy/author) for awareness and orchestration. hasActiveIntent reflects only YOUR session; activeIntents may be non-empty even when you have no current.

An active intent tracks what the user is working on, enabling:

  • Better code context for AI-generated changes

  • Conflict detection with team members

  • Automatic assignment of code blocks to the intent

Status semantics:

  • "active" — normal, in-progress. A stale intent simply stays "active"; the sweeper preserves its work without any status transition.

  • terminal states — committed / pushed / done / abandoned / superseded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoPathYesLocal path to the repository root
forkAuthorNoFork attribution; usually resolved by Muninn automatically — pass only for override / testing.
repoOriginNoGit remote origin URL. Auto-detected from repoPath via git if not provided.
workspaceIdNoWorkspace identifier; usually resolved by Muninn automatically — pass only for override / testing.
Behavior5/5

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

With no annotations provided, the description fully discloses behavior: returns intent/hasActiveIntent and activeIntents, explains status semantics (active vs terminal states), and describes the multi-active model. It implies no side effects (read-only check) and details response composition.

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 well-structured with a bolded requirement, bullet points, and sections. It is informative but slightly lengthy; however, every sentence contributes value. Some minor redundancy could be trimmed, but overall efficient.

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?

Given no output schema, the description covers the return shape (intent, hasActiveIntent, activeIntents) and status semantics. It could be more explicit about the full structure of the intent object, but provides enough for an agent to use effectively.

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 coverage is 100% with adequate descriptions for each parameter. The tool description itself does not add further parameter semantics beyond the schema, so baseline 3 is appropriate. Nested object forkAuthor is described sufficiently in schema.

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 clearly states the tool returns the current session's active intent, with explicit verb 'Returns' and resource 'session's current intent'. It distinguishes from siblings by mentioning 'PER SESSION' and referencing create_and_activate_intent for when no intent exists.

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?

Starts with 'REQUIRED: Call this tool BEFORE writing any code', providing a clear when-to-use directive. It also instructs to call create_and_activate_intent if no active intent, explicitly guiding the agent on next steps. The multi-active model explanation further clarifies context.

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/kawacode-ai/kawa.mcp'

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