Skip to main content
Glama

SanYu Research Engine

act_design_context

Read-only

【取某一步的上下文】 要基于前序步骤(PICO / 设计类型 / 研究对象)起草某一步内容时,先取上下文,避免重复问用户已经填过的信息 返回:该步骤可用的前序上下文(pico / design_type / population / topic) (真实算法引擎执行,非大模型生成)

Input Schema

NameRequiredDescriptionDefault
stepYes要看哪一步的上下文(数据编号 1-11)
project_idYes课题 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the description's read-only behavior is already covered. The description adds: the returned keys (pico / design_type / population / topic) and the note that a real algorithm engine, not an LLM, produces the results. Together these tell the agent what kind of data to expect, though it does not say what happens when a step has no prior context.

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?

The description is short and useful. It leads with the core intent, then gives the use condition, the returned fields, and the engine provenance. The bracketed title repeats the annotations title, which is mild redundancy, but nothing else is wasted.

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 2-parameter, non-destructive read tool with no output schema, the description covers the purpose, the trigger, and the returned keys. It is only slightly incomplete in that it does not describe the behavior for steps that lack prior context or the response shape when fields are missing.

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 coverage is 100%: the schema documents 'step' (data index 1-11) and 'project_id'. The description adds no syntax or format details beyond restating the returned fields, so the schema does the work here. A baseline of 3 is appropriate.

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 action and resource: fetching the context available for one step of a design workflow, based on prior steps (PICO / design type / population). Because the scope is so narrow, an agent can identify what the tool does; the sibling list does not name a competing 'get context' tool, so no explicit sibling contrast is needed.

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?

The description gives a clear trigger for use: when drafting the content of a step that should build on earlier steps, fetch the context first so the agent does not re-ask the user for information already supplied. It does not say when not to use the tool or name an alternative, so it is slightly short of a 5.

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