Skip to main content
Glama

独行录 / opcmenu

读一场活动的报名协议全文

get_activity_agreement
Read-only

get_signup_activity协议required未accepted或activity_agreement_required时取全文,null无协议。须全文展示(长文可给url自读)且本人明确同意后submit_signup传agreement={versionId,accept:true},留签署快照/组织审计禁代勾。须本次versionId,新版冲突重取重确认;required=false已签/已报免重签。

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": {
      "slug": "<slug>"
    },
    "name": "get_activity_agreement"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes活动 slug

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?

With readOnlyHint=true already declared, the description adds real value: it defines null semantics, mandates full-text display with a url fallback for long documents, states that a signing snapshot/组织审计 is retained, and warns that only the current versionId is valid. Much of the remaining prose constrains the caller's downstream submit_signup behavior rather than this read tool itself, which slightly dilutes the tool-specific disclosure.

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

Conciseness3/5

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

Everything is packed into one telegraphic run-on sentence with mixed Chinese/English tokens, which makes it information-dense but costly to parse and easy to mis-segment. The trigger condition is front-loaded, which is good, but structure could be improved with sentence breaks without losing content.

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 one-parameter read tool with annotations and no output schema, the definition covers triggers, the null result, the versionId validity rule, and the downstream submission contract. The response shape is only partially sketched (full text vs. url, implied versionId field), but that is close to sufficient for calling it correctly.

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?

There is a single parameter with 100% schema coverage, so the schema already explains slug; the description adds no further meaning about it. Baseline 3 is appropriate given nothing is lost but nothing is added either.

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 names the resource (报名协议全文) and ties retrieval to concrete trigger states in the sibling get_signup_activity output (required 且未 accepted,或 activity_agreement_required)。It also states the null case (无协议). It is slightly harder to parse than ideal because the opening clause is telegraphic, but the verb+resource+trigger is unambiguous.

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

Usage Guidelines5/5

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

It gives explicit when-to-call conditions, an explicit when-not-to-call case (required=false 已签/已报免重签), and routes the agent to the follow-up tool (submit_signup with agreement={versionId,accept:true}). It also specifies conflict handling (新版冲突重取重确认) and forbids proxy consent (禁代勾), leaving nothing to inference.

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