Skip to main content
Glama

Context Link

Get Context

get_context
Read-onlyIdempotent

Get context from the user's connected workspaces and websites. The attached widget displays only the list of sources consulted — it does not show the retrieved content, so use the returned context to answer the user directly.

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

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
contextYes
sourcesYes

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. Changed1 schema field 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"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already disclose read-only, open-world, idempotent, non-destructive behavior, so the description adds value by explaining a non-obvious side effect of the UI integration: the widget shows only the list of sources consulted and not the retrieved content. That is exactly the kind of operational fact an agent cannot get from structured fields and prevents it from assuming the user can see the results.

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

Conciseness4/5

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

Two tight sentences, front-loaded with the resource scope and followed by the highest-value constraint about the widget display. No redundant restatement of the title or annotations.

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?

For a read-only retrieval tool with a rich annotation set and an output schema, the description covers the essential behavioral caveat an agent needs before answering the user. The remaining shortfall is routing guidance against memory and question-answering siblings, which would make selection unambiguous.

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

Parameters2/5

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

The description adds no meaning for query, mode, or connection_type; the schema documents mode's cross-call consistency requirement and connection_type's valid source types, but the required query parameter is undocumented in both places. With schema coverage at 67%, the description should compensate for the gap and instead contributes nothing on parameters.

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?

"Get context from the user's connected workspaces and websites" names a verb and a scoped resource, and the mention of workspaces/websites bounds what gets retrieved. It stops short of differentiating the tool from siblings such as get_memory or ask_question, so an agent must infer the boundary from the tool name alone.

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 implied rather than stated: the second sentence tells the agent to answer the user from the returned context, which implies this is the retrieval step in a query flow. There is no explicit when-to-call versus get_memory/ask_question guidance and no exclusions, so selection guidance is only inferred.

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