Skip to main content
Glama

knowledge_ingest

Destructive

Ingest source documents by segment, classify relevance, apply claims, and track coverage gaps. Resolve missing evidence via tracked recovery to build durable, evidence-backed context.

Instructions

Source ingestion, claims, coverage, recovery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesstart=begin;next=segment;apply_claims=integrate claims;record_segment=classify;source_status=coverage;evidence_status=debt;finalize=close;report=drafts;record_recovery=track;resolve_recovery=resolve.
claimsNoStakeholder target: entity_key,page_path,page_title,page_type,role,organization,email_domain,affiliation.
reasonNo
claim_idsNo
max_charsNo
page_refsNo
segment_idNo
evidence_refsNo
segment_statusNo
recovery_eventsNo
recovery_reasonNo
report_filenameNo
include_resolvedNo
recovery_event_idNo
segment_max_charsNo
recovery_page_refsNo
normalized_filenameNo
recovery_resolutionNo
total_evidence_usedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes
guidanceNo
nextActionYes
resultTextNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv2.7.2
    • changedInput schema / properties / claims / description
      Previous value: -"Claims; target/relations optional."New value: +"Stakeholder target: entity_key,page_path,page_title,page_type,role,organization,email_domain,affiliation."
    • removedInput schema / properties / recovery_events / description
      Removed value: -"Recovery events; pages optional."
  2. First observedv2.7.0

TDQS

D1.8/5.0
Behavior2/5

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

The annotations already indicate destructiveHint=true and readOnlyHint=false, but the description adds no behavioral context beyond that. It does not describe effects, prerequisites, or what makes the operation destructive, though it does not contradict the annotations.

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

Conciseness2/5

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

The description is extremely short, but this is under-specification rather than efficient structure. It front-loads keywords that do not convey enough meaning to be useful, so the brevity does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 19 parameters, a 10-value action enum, and a complex ingestion/recovery workflow, this description is severely incomplete. It gives no sense of the required sequence, the meaning of the actions, or how this tool fits with sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 19 parameters and only 11% schema description coverage, the description needed to compensate by clarifying parameter meaning and workflow. Instead, it offers only domain keywords and no parameter semantics, leaving the large action enum and many parameters unexplained.

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

Purpose2/5

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

The description is a set of noun phrases ('Source ingestion, claims, coverage, recovery') rather than a clear statement of what the tool does. It lacks a verb and resource pattern, and it does not distinguish knowledge_ingest from its knowledge_* siblings.

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 guidance about when to use this tool versus alternatives like knowledge_page, knowledge_document, or knowledge_admin. The action enum implies a workflow, but the description itself provides no usage context or exclusions.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Deviank88/KnowledgeRail'

If you have feedback or need assistance with the MCP directory API, please join our Discord server