Skip to main content
Glama

Context Link

Ask Question

ask_question
Read-onlyIdempotent

Ask a question about the user's connected workspaces and websites and receive a concise answer with citations. The attached widget displays only the list of sources consulted — it does not show the answer, so always relay the answer text in your reply.

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": "ask_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoOptional mode for this session (e.g. 'customer-support'). Weights results toward that mode and includes memories saved in it; memories saved under another mode are excluded. Use the same mode for every Context Link call in the session, including Save Memory.
queryYes
connection_typeNoOptional comma-separated list of connection types to restrict retrieval to (e.g. "site,email"). Only content from those sources is considered. Valid types: basecamp, custom, email, files, google_doc, memory, monday, notion, one_drive, site, webmention, youtube.

Output Schema

NameRequiredDescriptionDefault
answerYesConcise paragraph answer; empty string when success is false
reasonYes
sourcesYes
successYes
citationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"Optional mode to weight results (e.g. 'customer-support')"New value: +"Optional mode for this session (e.g. 'customer-support'). Weights results toward that mode and includes memories saved in it; memories saved under another mode are excluded. Use the same mode for every Context Link call in the session, including Save Memory."
  2. Changed2 schema fields changed
    • addedInput schema / properties / connection_type
      Added value: +{
      +  "description": "Optional comma-separated list of connection types to restrict retrieval to (e.g. \"site,email\"). Only content from those sources is considered. Valid types: basecamp, custom, email, files, google_doc, memory, monday, notion, one_drive, site, webmention, youtube.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / reason / enum
      Previous value: -[
      -  "ok",
      -  "no_context",
      -  "llm_error",
      -  "empty_input",
      -  "auth_required",
      -  "signup_required",
      -  "pro_required",
      -  "allowance_exceeded"
      -]New value: +[
      +  "ok",
      +  "no_context",
      +  "llm_error",
      +  "empty_input",
      +  "auth_required",
      +  "signup_required",
      +  "pro_required",
      +  "allowance_exceeded",
      +  "invalid_connection_type"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower, yet the description adds a genuinely non-obvious behavior: the widget shows only the sources consulted and not the answer, so the agent must relay the answer text itself. That is actionable context an agent could not derive from annotations or schema. It does not mention latency, citation format, or what happens on an empty result set.

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 sentences, both front-loaded with the highest-value information: what the tool returns first, then the critical operational caveat about relaying the answer. No filler or redundant restatement of the title.

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?

An output schema exists, so return values needn't be explained, and the description correctly focuses on the one thing that schema cannot convey — that the widget omits the answer text. For a three-parameter read-only QA tool this is largely complete; the only gap is guidance on how this relates to the get_context sibling.

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 67%, with mode and connection_type well documented in the schema (including valid types and session-consistency guidance), while query is undocumented in both places. The description adds no parameter-level meaning beyond the schema, so it neither compensates for the query gap nor duplicates what is already there.

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?

The description states a specific verb and resource ('ask a question about the user's connected workspaces and websites') plus the return shape ('concise answer with citations'), which is enough to distinguish it from get_memory and save_memory on intent. It stops short of explicitly contrasting itself with the sibling get_context tool, so the differentiation is inferred rather than stated.

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?

Usage is only implied by the phrase 'ask a question about the user's connected workspaces and websites' — an agent can infer this is the retrieval/QA path rather than memory read or write. There is no explicit when-to-use versus get_context or get_memory, and no exclusions or prerequisites named.

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