Skip to main content
Glama

独行录 / opcmenu

查活动详情

get_activity
Read-onlyIdempotent

公开读活动,id/slug二选且slug优先。signup非null始终get_signup_activity→submit_signup,包括COMPETITION;无signup才看外部URL,无者不可报。【组合链】list_activities→详情→报名;资源opcmenu://activity/{slug}。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo活动 id(cuid)
slugNo活动 slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds the public-read scope and workflow routing, but discloses no return shape, pagination, or rate-limit behavior. With annotations carrying the load, a 3 is appropriate.

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 core action is front-loaded and every clause carries information (routing, precedence, workflow chain, resource URI). It is compact but uses bracket/arrow notation that is harder to parse than plain prose, which costs it the top mark.

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-param read tool with a full safety annotation set and no output schema, the description covers the essential decisions: which key to pass, what the tool returns in scope terms (public read), and where to go next for signup. Nothing critical for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuinely useful semantics beyond the schema: 'id/slug二选且slug优先' tells the agent the two params are mutually exclusive and that slug wins. That precedence rule is not derivable from the schema alone.

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 opening '公开读活动' states a specific verb (read) and resource (activity) with a public scope qualifier. It routes away from siblings like get_signup_activity and submit_signup, so the agent can tell this is the detail-read tool. However it doesn't distinguish itself from close siblings such as get_activity_draft or get_organizer_activity.

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?

It gives an explicit conditional rule: when signup is non-null, always go to get_signup_activity→submit_signup (including COMPETITION), and only fall back to external URL otherwise. It also names the workflow chain list_activities→详情→报名. This is clear routing, though the wording is dense and lacks any explicit 'do not use for X' beyond the signup branch.

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