Skip to main content
Glama
gitmem-dev

GitMem

Official
by gitmem-dev

resolve_thread

Mark an open thread as resolved using thread ID for exact match or text for fuzzy matching, with an optional resolution note.

Instructions

Mark an open thread as resolved. Use thread_id for exact match or text_match for fuzzy matching. Updates session state and .gitmem/threads.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idNoThread ID (e.g., "t-a1b2c3d4") for exact resolution
text_matchNoFuzzy text match against thread descriptions (fallback if no thread_id)
resolution_noteNoBrief note explaining how/why thread was resolved
Behavior3/5

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

With no annotations, the description discloses that the tool modifies session state and a JSON file, indicating mutation. However, it does not specify behavior for edge cases like already-resolved threads or nonexistent threads, nor prerequisites or permissions.

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?

The description is two sentences long, front-loads the main action, and contains no superfluous words or redundancy. Every sentence contributes essential information.

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 the tool's simplicity (3 optional parameters, no output schema), the description covers the core purpose, identification methods, and side effects. It lacks information on conflict resolution when both thread_id and text_match are provided, and does not describe return values or error states, but is adequate for basic use.

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 coverage is 100%, but the description adds value by explaining the intended use of thread_id ('for exact match') and text_match ('for fuzzy matching, fallback if no thread_id'), which goes beyond the schema descriptions. The resolution_note parameter is already well-described in the 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's action ('Mark an open thread as resolved') and distinguishes it from sibling tools like create_thread and list_threads. It specifies two methods for identifying the thread (by ID or fuzzy match).

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 provides explicit guidance on when to use thread_id versus text_match, but does not include explicit when-not-to-use or alternative tools. The context is clear enough for basic usage.

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/gitmem-dev/gitmem'

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