Skip to main content
Glama

Get Knowledge

get_knowledge
Read-onlyIdempotent

Read the knowledge base: search it, list sources, read a source, or check context coverage. Read-only.

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": {
      "action": "<action>"
    },
    "name": "get_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoThe fields of the chosen action.
actionYessearch: Search the brand Knowledge library and return cited passages; exact names and quoted phrases match verbatim, nextCursor pages. Use it before writing anything that must be accurate about the brand. sources: List the brand Knowledge sources with their purpose, processing state and failure reason. read: Read one Knowledge source: metadata, current version state, provenance, a bounded text preview and the spaces it belongs to. coverage: Report whether the context behind an answer is complete, per source family. Call it when a search returns nothing or before claiming something does not exist.
organizationNoOrganization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused).

Output Schema

NameRequiredDescriptionDefault
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, and the description merely echoes that with 'Read-only'. It adds nothing beyond the annotations — no mention of empty-result behavior, pagination limits, or what the organization requirement implies for calls.

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

Conciseness5/5

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

Two short sentences, front-loaded with the purpose and the operation menu, with zero filler. Nothing is redundant or buried.

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?

With a complete input schema, an output schema, and rich annotations, the short description is nearly sufficient; it correctly signals the tool's scope. The only gap is that it does not hint that the `input` payload changes shape per action or that `organization` may be required, which the agent must learn from the schema.

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% and the per-action input variants, enums, cursor paging and brandId requirements are all documented inside the schema in far more detail than the description. The description only names the four actions, so it adds no meaning beyond structured fields — baseline 3.

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?

States a specific verb and resource ('Read the knowledge base') and enumerates the four operations that map one-to-one onto the `action` enum (search/list sources/read a source/check coverage). An agent can tell this is the read-side counterpart to manage_knowledge, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The description itself offers no when-to-use or when-not-to-use guidance beyond 'Read-only'. The real routing advice ('Use it before writing anything that must be accurate about the brand', 'Call it when a search returns nothing') lives in the action enum descriptions in the schema, not in the description.

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.