Skip to main content
Glama

Social media studio

Reprocess Knowledge

reprocess_knowledge

Retry extraction for a failed PDF/image/text knowledge document

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": {
      "id": "<id>"
    },
    "name": "reprocess_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesKnowledge document UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=false, so the agent knows this retry changes state but does not destroy existing data. The description adds useful context that the operation targets failed extractions of PDF, image, or text documents. However, it says nothing about whether the operation is asynchronous, what happens on repeated calls, or what effect it has on a document that is not failed.

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?

A single short sentence is front-loaded with the verb and contains no filler. There is no wasted wording anywhere in it.

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?

Given one documented parameter, no output schema, and annotations that cover the safety profile, the definition is close to complete. However, it omits a meaningful behavior for a retry tool: whether the call returns a job identifier or a status, or whether success is synchronous. An agent would have to discover that at runtime.

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?

There is one required parameter, and schema coverage is 100% because the parameter is documented as "Knowledge document UUID". The description adds only that the referenced document must be a failed PDF, image, or text document; it adds no detail about the identifier's format or source. With a single fully documented parameter, the baseline score of 3 applies.

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?

A specific verb-plus-resource phrase, "Retry extraction for a failed ... knowledge document", names the action and the object it acts on. It stays narrower than the sibling names create_knowledge and update_knowledge, though it does not explicitly contrast itself with them.

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 word "failed" implies the precondition that the document must already be in a failed state, but the description never says so outright. It also does not say what to do when the document is not failed, nor does it name an alternative such as update_knowledge.

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.

Resources