Skip to main content
Glama

upc_shiguang_register_activity

Registers a user for a named Shiguang activity after verifying activity details, registration window, and eligibility, submitting only once without automatic retries.

Instructions

Submit one explicit registration for the named Shiguang activity.

Call only when the user explicitly names the activity and asks to register. The tool first performs a read-only detail/window/self check, then submits once; it never auto-retries a write. For social_practice without an invite code, reason is required (the real page requires it). Check-in, cancellation and profile writes are not supported.

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": {
      "activity_id": "<activity_id>"
    },
    "name": "upc_shiguang_register_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoactivity
reasonNo
activity_idYes
invite_codeNo
session_refNoself

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, it discloses a read-only detail/window/self pre-check followed by exactly one write with no auto-retry, which explains the non-idempotent behavior in operational terms. It does not cover failure handling, error surfaces, or session/auth prerequisites, so it stops short of fully rich behavioral 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 purpose and the when-to-call rule are front-loaded in the first two sentences, and each remaining sentence carries a distinct constraint (read-then-write, no retry, conditional reason, unsupported operations). It is compact with no filler, though the line breaks break up an otherwise single tight paragraph.

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 an open-world, non-idempotent mutation with no output schema, the definition supplies the precondition, the single-attempt write semantics, and the set of excluded operations. Gaps remain around return values on success/failure and the meaning of activity_id and session_ref, but the core calling contract is covered.

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 description coverage is 0%, so the description must carry parameter meaning; it does explain the conditional dependency between kind=social_practice, invite_code and the required reason, which the schema itself does not express. However, activity_id (numeric string pattern) and session_ref (fixed 'self') receive no explanation, leaving two of five parameters purely schema-driven.

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: 'Submit one explicit registration for the named Shiguang activity.' It also delimits scope by stating that check-in, cancellation and profile writes are not supported, which cleanly separates it from sibling read tools like upc_shiguang_activities and upc_shiguang_activity_detail.

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 a clear invocation precondition ('Call only when the user explicitly names the activity and asks to register') plus exclusions for unsupported operations, and a conditional rule tying reason to social_practice without an invite code. It stops short of routing the agent to sibling tools for discovering or verifying an activity_id before calling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.