Skip to main content
Glama
ConceptNet MCP Server

ConceptNet MCP Server

by infinitnet

Concept Query

concept_query

Query ConceptNet relationships by start, end, relation, node, or source using multi-parameter filtering to find and analyze specific concept connections.

Instructions

Advanced querying of ConceptNet with sophisticated multi-parameter filtering.

This tool provides powerful filtering capabilities for exploring ConceptNet's
knowledge graph. You can combine multiple filters to find specific types of
relationships and concepts with precision.

Features:
- Multi-parameter filtering (start, end, relation, node, sources)
- Complex relationship discovery and analysis
- Comprehensive result processing and enhancement
- Query optimization and performance metrics
- 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

Filter Parameters:
- start: Start concept of relationships (e.g., "dog", "/c/en/dog")
- end: End concept of relationships (e.g., "animal", "/c/en/animal")
- rel: Relation type (e.g., "IsA", "/r/IsA")
- node: Concept that must be either start or end of edges
- other: Used with 'node' to find relationships between two specific concepts
- sources: Filter by data source (e.g., "wordnet", "/s/activity/omcs")

Use this when you need:
- Precise relationship filtering and discovery
- Complex queries with multiple constraints
- Analysis of specific relationship types
- Targeted exploration of concept connections

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "concept_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd concept URI or term (e.g., "animal", "/c/en/animal")
relNoRelation type (e.g., "IsA", "/r/IsA")
nodeNoConcept that must be either start or end of edges
otherNoUsed with 'node' to find relationships between two specific concepts
startNoStart concept URI or term (e.g., "dog", "/c/en/dog")
sourcesNoFilter by data source (e.g., "wordnet", "/s/activity/omcs")
verboseNoIf True, returns detailed format with full metadata (default: False)
languageNoLanguage filter for concepts (default: "en")en
limit_resultsNoIf True, limits to 20 results for quick queries (default: False)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv0.2.5
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / end / description
      Added value: +"End concept URI or term (e.g., \"animal\", \"/c/en/animal\")"
    • addedInput schema / properties / language / description
      Added value: +"Language filter for concepts (default: \"en\")"
    • addedInput schema / properties / limit_results / description
      Added value: +"If True, limits to 20 results for quick queries (default: False)"
    • addedInput schema / properties / node / description
      Added value: +"Concept that must be either start or end of edges"
    • addedInput schema / properties / other / description
      Added value: +"Used with 'node' to find relationships between two specific concepts"
    • addedInput schema / properties / rel / description
      Added value: +"Relation type (e.g., \"IsA\", \"/r/IsA\")"
    • addedInput schema / properties / sources / description
      Added value: +"Filter by data source (e.g., \"wordnet\", \"/s/activity/omcs\")"
    • addedInput schema / properties / start / description
      Added value: +"Start concept URI or term (e.g., \"dog\", \"/c/en/dog\")"
    • addedInput schema / properties / verbose / description
      Added value: +"If True, returns detailed format with full metadata (default: False)"
  2. Changed9 schema fields changedv1.0.0
    • removedInput schema / properties / end / title
      Removed value: -"End"
    • removedInput schema / properties / language / title
      Removed value: -"Language"
    • removedInput schema / properties / limit_results / title
      Removed value: -"Limit Results"
    • removedInput schema / properties / node / title
      Removed value: -"Node"
    • removedInput schema / properties / other / title
      Removed value: -"Other"
    • removedInput schema / properties / rel / title
      Removed value: -"Rel"
    • removedInput schema / properties / sources / title
      Removed value: -"Sources"
    • removedInput schema / properties / start / title
      Removed value: -"Start"
    • removedInput schema / properties / verbose / title
      Removed value: -"Verbose"
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral disclosure burden. It explains verbose versus minimal output and that multiple filters can be combined, but it does not state read-only/safety properties, permissions, rate limits, or result-volume behavior beyond the schema parameters.

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 definition is front-loaded and clearly sectioned, which helps scanning. However, it includes vague filler such as 'Comprehensive result processing and enhancement' and 'Query optimization and performance metrics,' and repeats filter descriptions already covered by the schema.

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?

For a ConceptNet query tool with nine optional parameters and an output schema, the description adequately covers filtering and format choice. It leaves gaps around result limits, language handling, pagination or ordering, and explicit read-only behavior, which matters because no annotations are provided.

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 100%, so the schema already documents all nine parameters. The description repeats many parameter examples and reinforces how node and other work together, but it adds little syntax or constraint detail beyond the schema and omits language and limit_results.

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 description names a specific action and resource—advanced querying of ConceptNet—and enumerates filters such as start, end, rel, node, and sources. It does not explicitly differentiate this tool from siblings like concept_lookup or related_concepts, so the distinction is only implied by 'advanced' and 'multi-parameter filtering.'

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?

It gives concrete 'Use this when you need' cases: precise relationship filtering, complex queries with multiple constraints, analysis of specific relationship types, and targeted exploration. It does not state when to avoid this tool or name an alternative, so full routing guidance is absent.

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