Skip to main content
Glama

Where did that come from?

get_knowledge_provenance
Read-onlyIdempotent

Where did that come from? For refs returned by other Dactic tools (1-20), describes each item's source and a confidence of high, medium or low from a fixed rubric, with the rule that applied in basis. Rubric — terminology: high when confirmed with score >= 0.9 and no conflict, medium when confirmed otherwise, low when not confirmed. Knowledge: high when confirmed in an interview, medium when inferred from 3+ evidence items (or confirmed without a recorded confirmation), low otherwise or when disputed. Evidence: high when it supports confirmed knowledge, medium when it supports unconfirmed knowledge, low otherwise. Policy: high when in the current published COE version, medium when ingested from a document but not published, low with no source document. Skill: high when active and a live agent uses it, medium when active, low when retired. Playbook: high approved, medium pending review or needing follow-up (Dactic has no review step yet), low for a draft. Never repeats evidence text.

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": {
      "refs": "<refs>"
    },
    "name": "get_knowledge_provenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
refsYes

Output Schema

NameRequiredDescriptionDefault
itemsYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the safety profile is settled. The description adds real behavioral context beyond them: a fixed rubric making confidence deterministic, the `basis` field carrying the applied rule, and the guarantee that evidence text is never repeated. It could go further on volume or failure behavior for invalid refs.

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 is front-loaded and efficient, but the six-category rubric is a long dense block, and with an output schema present some of that enumeration likely duplicates structured return data. Sentences do carry information, yet the whole is heavier than needed for selection.

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?

For a one-parameter read tool with full annotations and an output schema, the description supplies the essentials: input provenance, what confidence means, and the non-duplication behavior. The only real gap is ref-format and invalid-ref handling, which is minor given the structured output.

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 single `refs` parameter is undocumented structurally; the description partially compensates by saying these are refs returned by other Dactic tools, in a 1-20 count. However, it never states what a ref string looks like or what happens if a ref is unknown or stale, leaving the parameter only half-explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb+resource: it 'describes each item's source and a confidence' for refs produced by other Dactic tools. That is clearly distinct from siblings like find_context_gaps or check_freshness, which surface problems rather than explain origin. An agent can tell what it gets back without opening the schema.

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?

Usage is pinned to a precondition: refs must come from other Dactic tools, with the 1-20 bound stated. There is no explicit when-not guidance or named alternative for related explainability questions, which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.