Skip to main content
Glama

独行录 / opcmenu

查活动详情

get_activity
Read-only

公开活动id/slug二选、slug优先。signup非null(含COMPETITION)须get_signup_activity→submit_signup;null才用外部URL,无URL不可报。list_activities→详情→报名;opcmenu://activity/{slug}。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_activity"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"活动 id(cuid)"New value: +"活动 id(cuid)"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already tells the agent this is a safe read, so the description's job is to add context. It does add that only public activities are covered and that the returned signup field drives the follow-up path (internal signup flow vs external URL, and 'no URL means cannot register'), which is genuinely useful behavior beyond the annotation. It stops short of describing what the response contains or what happens for missing/invalid ids.

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?

Every clause carries information and the id/slug selection rule is front-loaded before the downstream workflow notes. The arrow-and-shorthand style (get_signup_activity→submit_signup, list_activities→详情→报名) is compact but borders on cryptic for a non-Chinese-reading model.

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 two-parameter, read-only lookup with full schema coverage and no output schema, the description covers parameter choice, scope (public only), and the critical signup-routing consequence. Minor gaps around error cases and the shape of the returned signup field are acceptable at this complexity level.

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 real semantics: the two parameters are mutually exclusive choices (二选) and slug is preferred over id when both are available. That priority rule is not derivable from the schema and directly affects how an agent should construct the call.

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 definition identifies the resource as a public activity (公开活动) retrievable by either id or slug, which is specific enough to separate it from siblings like get_organizer_activity or get_activity_draft. The retrieval verb itself is only implied by the name and title rather than stated outright, so it falls short of a fully self-contained purpose statement.

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 explicit routing: list_activities → details → registration, and states that a non-null signup (including COMPETITION) must go through get_signup_activity → submit_signup, while a null signup means using an external URL. That is concrete when-to-use and when-not guidance for the downstream flow, though it does not address when to prefer this over other activity-detail siblings.

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