You're viewing a demo portfolio

Join the waitlist
PRSM

knowledge_query

Active

Tool of io.github.saloprj/dialogbrain

declared in 1.17.0

Answer questions using knowledge base (uploaded documents, handbooks, files). Use for QUESTIONS that need an answer synthesized from documents or messages. Returns an evidence pack with source citations, KG entities, and extracted numbers. Modes: - 'auto' (default): Smart routing — works for most questions - 'rag': Semantic search across documents & messages - 'entity': Entity-centric queries (e.g., 'Tell me about [entity]') - 'relationship': Two-entity queries (e.g., 'How is [entity A] related to [entity B]?') Examples: - 'What did we discuss about the budget?' → knowledge.query - 'Tell me about [entity]' → knowledge.query mode=entity - 'How is [A] related to [B]?' → knowledge.query mode=relationship NOT for finding/listing files, threads, or links — use search.files / search.threads / search.links for that.

Parameters schema

{
  "type": "object",
  "required": [
    "question"
  ],
  "properties": {
    "date_to": {
      "type": "string",
      "description": "Filter messages until this date (ISO format: YYYY-MM-DD)."
    },
    "file_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Specific file IDs to search within (for pinned files)"
    },
    "question": {
      "type": "string",
      "minimum": 1,
      "description": "The question to answer from user's knowledge base. Required even for entity queries."
    },
    "date_from": {
      "type": "string",
      "description": "Filter messages from this date (ISO format: YYYY-MM-DD). Use for time-based queries like 'this week', 'last month'."
    },
    "thread_id": {
      "type": "string",
      "description": "Limit search to a specific thread/chat"
    },
    "max_sources": {
      "type": "integer",
      "default": 5,
      "maximum": 10,
      "minimum": 1,
      "description": "Maximum number of sources to consider (1-10)"
    },
    "needs_aggregation": {
      "type": "boolean",
      "description": "True if query asks for totals/sums/counts."
    },
    "include_relationships": {
      "type": "boolean",
      "default": true,
      "description": "Include KG relationships in answer (default: true for entity mode)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

io.github.saloprj/dialogbrain

https://github.com/saloprj/dialogbrain-mcp

1/7 registries
View full server →