Skip to main content
Glama

context_resume

Read-onlyIdempotent

Resume the correct work project from a natural-language request such as 继续 Windows 用户端开发 or continue my DNS-DATA project. Search the signed-in user's encrypted local project contexts; if multiple projects match, return candidates instead of guessing. On an unambiguous match, return goals, tasks, blockers, revision IDs, and independently verified live device versions. Invoke this when users ask to continue previous work. No cloud project database.

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

Input Schema

NameRequiredDescriptionDefault
queryYes
device_idNo
include_runtimeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds real behavior on top: it reads only local encrypted storage, never touches cloud project data, and deliberately refuses to guess when multiple projects match. Returned fields are enumerated (goals, tasks, blockers, revision IDs, verified live device versions). It does not say how matching/ranking works or how candidates are limited.

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?

Four tight sentences, front-loaded with purpose, then matching policy, then payload, then invocation trigger. No filler. The closing "No cloud project database" is terse to the point of being clipped, but it still carries a real scoping constraint.

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 three-parameter lookup with no output schema, the definition covers source, ambiguity handling, return contents, and trigger conditions — enough to call it correctly. The remaining hole is parameter-level guidance, particularly what device_id selects.

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?

Schema description coverage is 0% across three parameters, so the description must compensate and largely does not. "Natural-language request" plus the examples clarify the meaning of `query`, but `device_id` is never mentioned and `include_runtime` is only obliquely gestured at by "independently verified live device versions" — an agent cannot tell what supplying device_id changes or when to turn include_runtime off.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Resume the correct work project from a natural-language request") and supplies two concrete example queries, including a non-English one. It also scopes the data source ("signed-in user's encrypted local project contexts"), which separates it from the project_context_* siblings that operate on a specific known project.

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

Usage Guidelines4/5

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

Explicit trigger given: "Invoke this when users ask to continue previous work." Ambiguous-match behavior is spelled out (return candidates instead of guessing), which is strong guidance. What is missing is a when-not condition, e.g. that an already-identified project should go through project_context_get rather than a search.

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