Skip to main content
Glama

complete_intent

Record the final status and outcome of an intent with a detailed summary and git metadata, enabling collision warnings for other agents.

Instructions

Close out an intent when work finishes or is abandoned. The outcome summary is required for done and is the most valuable artifact this system produces: write one paragraph covering what actually changed, anything surprising, approaches tried and rejected, and anything deliberately left in place. Gather git facts as exhaust — you already have them at completion time: files = repo-relative paths actually changed (git diff --name-only over the work, committed or not); commits = SHAs created for this work; uncommitted = true if ANY of the work is not yet committed (untracked/unstaged/staged-only) — this flag is what lets other agents' collision checks warn loudly instead of quietly. Omit anything unknown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe intent id returned by post_intent.
filesNoRepo-relative paths actually changed (from `git diff --name-only` over the work). Omit if unknown.
statusYesdone = landed; abandoned = stopped without landing.
commitsNoCommit SHAs produced for this work. Omit if unknown.
outcomeYesOne paragraph: what actually changed, surprises, dead ends, things deliberately left alone.
uncommittedNoTrue if ANY of the work is not yet committed (untracked/unstaged/staged-only). This flag escalates collision warnings for other agents. False = all committed. Omit if unknown.
Behavior4/5

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

Despite no annotations, the description explains key behaviors: outcome summary is the 'most valuable artifact', the uncommitted flag escalates collision warnings, and it instructs to omit unknown fields. It does not address reversibility or permissions, but overall provides substantial behavioral context.

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?

Single dense paragraph, front-loaded with purpose, then outcome guidance, then git facts. Every sentence contributes essential operational detail; no filler.

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?

For a tool with 6 params and no output schema, the description explains the purpose of each param in operational context and the workflow. It stops short of describing the tool's return value or post-conditions, but that may not be needed.

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?

Schema covers all parameters with descriptions, but the description adds practical guidance: how to gather files via git diff, what uncommitted means for other agents, and that outcome should cover 'what actually changed, surprises, dead ends'. A minor ambiguity: says outcome required for 'done' while schema requires it always.

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 opens with 'Close out an intent when work finishes or is abandoned' — a specific verb+resource+scope. It clearly distinguishes from sibling tools like post_intent (create) and update_intent (modify).

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?

States explicitly when to use: 'when work finishes or is abandoned'. However, it does not mention alternatives or exclusions, relying on sibling names to disambiguate.

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/sledmonkey/getflightplan'

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