Skip to main content
Glama
graph-autotagger-mcp

graph-autotagger-mcp

Community Match

community_match

Identifies which knowledge-graph communities a note most closely belongs to and returns top matches with match scores, matching nodes, and community sizes.

Instructions

Find which graph communities the note most closely belongs to.

Returns top max_matches communities: {community_id, match_score, matching_nodes, total_nodes_in_community}.

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": {
      "note_content": "<note_content>"
    },
    "name": "community_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_matchesNo
note_contentYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it does not state whether this is a read-only query, what permissions or graph state are required, or whether the operation has traversal cost/latency. Its one behavioral contribution is that results are ranked and truncated to a top-N, which is thin for an undefined-mutation-profile 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?

Two sentences, front-loaded with the purpose and zero filler. The second sentence largely restates the output schema's field list, which is mild redundancy rather than clutter.

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

Completeness3/5

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

An output schema exists, so the return-field enumeration is not strictly required, and an agent knows what it gets back. However, with no annotations the description should close the gaps on read-only nature, prerequisites, and note_content format, and it does not.

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 description coverage is 0%, so the description must compensate. It does explain max_matches in context ("Returns top max_matches communities"), but note_content is only inferable from the noun "note" with no indication of expected format, length, or whether it is raw text or an ID.

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?

"Find which graph communities the note most closely belongs to" gives a specific verb (Find), a specific resource (graph communities), and a scoping qualifier (for a given note). The purpose is unambiguous and clearly distinct from the listed siblings (check_god_nodes, log_suggestion_decision, suggest_links), though it does not explicitly say so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool for community-assignment queries, but there is no explicit when-to-use, when-not-to-use, or prerequisite (e.g., must the note already exist in the graph?). No alternative is named.

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