Skip to main content
Glama

cuqu-mcp

query_activities

查询粗趣小程序上的活动列表。

当用户想找活动、看有什么活动、按条件筛选活动时调用此工具。

Args:
    activity_type: 活动类型筛选,如"桌游聚会"、"户外徒步"、"剧本杀"、"飞盘"等。留空则不筛选。
    date: 日期筛选,格式"2026-08-22"。留空则不筛选。
    location: 区域筛选,如"南山区"、"罗湖区"。留空则不筛选。
    keyword: 关键词搜索活动标题和描述。留空则不搜索。

Returns:
    JSON 字符串,包含活动列表(标题、时间、地点、价格、剩余名额、H5 链接等)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
keywordNo
locationNo
activity_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses that this is a query operation returning a JSON list with fields such as title, time, location, price, remaining spots, and H5 link. It does not mention read-only guarantees, pagination, sorting, or auth requirements, leaving some behavior implicit.

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

Conciseness5/5

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

The description is well organized into purpose, usage guidance, Args, and Returns sections. Each parameter line earns its place with examples and empty-value behavior, and the overall text is scannable without unnecessary filler.

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 simple four-optional-parameter query tool, the description covers when to call it, all parameter meanings, and the return shape; the presence of an output schema reduces the need for return-value detail. Minor operational details such as pagination, default date behavior, or result limits are not addressed.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully documents all four parameters: activity_type with examples, date with a format, location with examples, and keyword semantics. It also explains that empty values mean no filtering, fully compensating for the bare schema.

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 a specific verb and resource: 'query the activity list on the 粗趣 mini-program' and adds usage intent like finding or filtering activities. It is clear, though it does not explicitly position itself against siblings such as get_activity_card or query_venues.

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 states when to call the tool: when the user wants to find activities, see available activities, or filter activities. It provides clear context but does not mention when not to use it or point to alternatives like get_activity_card for a single activity.

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