Skip to main content
Glama

check_overlap

Read-onlyIdempotent

Search unfinished threads for overlap with a planned task before starting new work, then compare likely matches to avoid creating duplicate threads.

Instructions

Find open threads that may overlap a planned task.

Use before starting potentially new work. The query should describe the intended task, and the result is read-only; compare likely matches before creating another thread.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "check_overlap"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum overlap hits to return (1–50); defaults to 5.
queryYesPlain-language intended outcome or task keywords; searches unfinished Hub threads without creating work.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.22.0
    • addedInput schema / properties / limit / description
      Added value: +"Maximum overlap hits to return (1–50); defaults to 5."
    • addedInput schema / properties / query / description
      Added value: +"Plain-language intended outcome or task keywords; searches unfinished Hub threads without creating work."
  2. First observedv0.12.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the description's 'the result is read-only' mostly restates structured data. The genuinely additional details are that it searches unfinished Hub threads only and creates no work — useful, but thin for a discovery tool.

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?

Three short sentences, front-loaded with the purpose before the usage instruction. Minor waste in repeating the read-only/no-write point that the schema and annotations already convey.

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?

An output schema exists, so return values need not be explained, and both parameters are fully specified in the schema with annotations covering the safety profile. What remains — that it targets unfinished threads and precedes thread creation — is stated.

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% and both parameters are already documented, including limits and length bounds. The description only adds the framing that the query should describe the intended task rather than being keyword soup, which is marginal value over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ('Find open threads') plus a qualifying scope ('may overlap a planned task'), which is enough to separate it from write-side siblings like upsert_thread or request_thread_merge. It stops short of naming the nearest alternatives (suggest_duplicate_threads, search_work), so an agent must infer the distinction.

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?

'Use before starting potentially new work' gives a clear triggering condition, and 'compare likely matches before creating another thread' states the intended workflow. No explicit when-not or named alternative is offered, so an agent cannot tell from the description alone why it would pick this over suggest_duplicate_threads.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.