Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by kvmadden

corpus.answer

Read-only

Retrieve an exact cited passage from a public health or fictional demo collection to answer questions with source-backed evidence; results come from offline snapshots and are not clinical advice.

Instructions

Retrieve an exact cited passage from the public health or fictional demo collection. Offline snapshots, not clinical advice.

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": {
      "question": "<question>"
    },
    "name": "corpus.answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYes
collectionNopublic

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this a safe read (readOnlyHint=true, destructiveHint=false), so the bar is lower. The description adds genuinely useful context beyond that: "Offline snapshots" signals data freshness limits and "not clinical advice" signals a scope/liability boundary. It still omits behavior an agent would want, such as what happens when no passage matches or how the citation is presented.

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 short sentences, front-loaded with the core action and result, with no filler. The second sentence is dense but earns its place by covering freshness and scope in a single clause.

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?

With no output schema, the description carries the burden of describing return values and it does so adequately (an exact cited passage). What is missing for a two-parameter retrieval tool is failure behavior — no-match handling, whether multiple passages can be returned — leaving the agent to discover that empirically.

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 partially: "public health or fictional demo collection" maps onto the collection enum values, clarifying their intent. However, the required `question` parameter — including its 2000-character bound and whether it accepts natural language — receives no explanation, leaving real gaps.

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?

"Retrieve an exact cited passage" gives a specific verb and result type, and names the two source collections (public health / fictional demo). It is clear what the tool returns, though it never states whether the tool answers a question or merely looks up passages, which is the key distinction for an agent picking it.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative among the many sibling tools (inbox.*, memory.*, records.*). The only guidance-like statement is a negative scope caveat ("not clinical advice"), which limits liability rather than telling an agent when to prefer this over another retrieval path.

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