Skip to main content
Glama
ConceptNet MCP Server

ConceptNet MCP Server

by infinitnet

Concept Relatedness

concept_relatedness

Measure semantic relatedness between two concepts with a 0.0-1.0 score, then compare terms across languages to validate conceptual connections.

Instructions

Calculate precise semantic relatedness score between two concepts.

This tool uses ConceptNet's semantic embeddings to calculate how
related two concepts are to each other. The score ranges from 0.0
(completely unrelated) to 1.0 (very strongly related).

Features:
- Precise quantitative similarity measurement
- Cross-language comparison support
- Detailed relationship analysis and interpretation
- Confidence levels and percentile estimates
- Format control: minimal (~96% smaller) vs verbose (full metadata)

Format Options:
- verbose=false (default): Returns minimal format optimized for LLM consumption
- verbose=true: Returns comprehensive format with full ConceptNet metadata
- Backward compatibility maintained with existing tools

Analysis Components:
- Numeric relatedness score (0.0-1.0)
- Descriptive interpretation and confidence level
- Likely connection explanations
- Semantic distance and relationship strength
- Cross-language analysis when applicable

Use this when you need to:
- Quantify how similar two concepts are
- Compare concepts across different languages
- Measure semantic distance between ideas
- Validate conceptual relationships

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": {
      "concept1": "<concept1>",
      "concept2": "<concept2>"
    },
    "name": "concept_relatedness"
  }
}

Input Schema

NameRequiredDescriptionDefault
verboseNoIf True, returns detailed format with full metadata (default: False)
concept1YesFirst concept term for comparison (e.g., "dog", "happiness")
concept2YesSecond concept term for comparison (e.g., "cat", "joy")
language1NoLanguage code for first concept (default: "en")en
language2NoLanguage code for second concept (default: "en")en

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.5
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / concept1 / description
      Added value: +"First concept term for comparison (e.g., \"dog\", \"happiness\")"
    • addedInput schema / properties / concept2 / description
      Added value: +"Second concept term for comparison (e.g., \"cat\", \"joy\")"
    • addedInput schema / properties / language1 / description
      Added value: +"Language code for first concept (default: \"en\")"
    • addedInput schema / properties / language2 / description
      Added value: +"Language code for second concept (default: \"en\")"
    • addedInput schema / properties / verbose / description
      Added value: +"If True, returns detailed format with full metadata (default: False)"
  2. Changed5 schema fields changedv1.0.0
    • removedInput schema / properties / concept1 / title
      Removed value: -"Concept1"
    • removedInput schema / properties / concept2 / title
      Removed value: -"Concept2"
    • removedInput schema / properties / language1 / title
      Removed value: -"Language1"
    • removedInput schema / properties / language2 / title
      Removed value: -"Language2"
    • removedInput schema / properties / verbose / title
      Removed value: -"Verbose"
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose the score scale (0.0-1.0), the underlying ConceptNet embeddings, confidence/percentile outputs, and the two output formats. It omits important behavior for a lookup-style tool: what happens with unknown or out-of-vocabulary concepts, error modes, and whether cross-language comparison requires matching language codes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence and score-range sentence are well front-loaded, but the four bullet sections overlap heavily: output format is covered in 'Features', again in 'Format Options', and the return values are re-listed under 'Analysis Components' even though an output schema exists. Roughly a third of the text restates structured data.

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?

Because an output schema exists, the description needn't enumerate return fields, so its main job is inputs, format choice, and use context — all of which are covered. The remaining gap is edge-case behavior (unmatched concepts, unsupported language codes) for what is otherwise a simple two-concept comparison tool.

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 already 100%, so the baseline is 3; the description earns an extra point by explaining the practical tradeoff of the 'verbose' flag (minimal is ~96% smaller and LLM-optimized vs full ConceptNet metadata) and by flagging cross-language comparison, which motivates language1/language2 beyond their schema text.

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 ('Calculate') and resource ('semantic relatedness score between two concepts'), making the core function unambiguous. It does not, however, distinguish itself from the sibling 'related_concepts', which an agent could plausibly confuse with a pairwise similarity scorer.

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 'Use this when you need to' block gives four concrete selection contexts (quantify similarity, cross-language comparison, semantic distance, validate relationships). It lacks any exclusion or named alternative, so the agent gets clear positive guidance but no routing logic against the siblings.

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