Skip to main content
Glama

enrich_context

Enriches a query or topic with multi-agent context gathering from web, memory, and tools, with configurable depth and optional browser research.

Instructions

Comprehensive context enrichment using multi-agent system

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": {
      "query": "<query>"
    },
    "name": "enrich_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoLevel of context enrichment depthdetailed
queryYesThe query or topic to enrich context for
sourcesNoPreferred sources for context gathering
enableBrowserResearchNoEnable Browser[X]MCP integration for web research

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-alpha.2

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and largely fails. It does not say whether the tool is read-only, whether it incurs cost or latency from the "multi-agent system", what sources are actually hit, or what the agent gets back.

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?

It is a single short sentence with no wasted clauses and is front-loaded, but the brevity reflects under-specification rather than efficiency. There is no structure to speak of.

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

Completeness2/5

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

This is a four-parameter tool with no annotations and no output schema, so the description must explain behavior and results. It says nothing about output format, latency, source behavior, or side effects, leaving significant gaps for an agent to call it correctly.

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%, so every parameter including depth, query, sources, and enableBrowserResearch is already documented in the schema. The description adds no new parameter meaning beyond the word "comprehensive", which only loosely echoes the depth enum.

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?

"Comprehensive context enrichment" essentially restates the tool name enrich_context, and "using multi-agent system" is an implementation detail rather than a statement of what the tool returns or does. There is no verb+resource specificity and nothing that distinguishes it from siblings like detect_topic or search_history.

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?

The description gives no when-to-use guidance, no exclusions, and no mention of alternatives. An agent cannot infer from this text whether to call enrich_context instead of detect_topic or search_history for a given query.

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

Deploy Server

Other Tools