Skip to main content
Glama

Get Performance Tickets

get_performance_tickets

Query performance showtimes and ticket tiers—including times, prices, remaining stock, and purchase limits—for a given event and city; login is required for availability.

Instructions

演出场次与票档:每场的时间、票档名、票面价/实售价、余票、限购。需要登录(import_cookie 后可用)。预售期走预选接口,已开售走场次+票档接口,两条都已实测;未登录会明确报错,不返回假数据。

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": {
      "item_id": "<item_id>"
    },
    "name": "get_performance_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo深圳
item_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does a decent job: it discloses the authentication requirement, states that unauthenticated calls fail explicitly rather than returning fabricated data, and notes both the presale and on-sale code paths are tested. It stops short of covering rate limits, pagination, or whether results are cached.

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 returned data fields are front-loaded in a single compact clause, followed by the login prerequisite and the routing note, so the most decision-relevant information arrives first. No sentence is redundant, though the punctuation-dense packing makes it slightly harder to scan than a two-sentence split would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained here, and the auth behavior is well covered. The gap is on the input side: with two undocumented parameters at 0% coverage and an unexplained default city value, the definition is not quite complete for an agent calling it cold.

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

Parameters2/5

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

Schema description coverage is 0%, so the description is the only possible place to explain that item_id is a required performance identifier and that city accepts a name or numeric code with a default of Shenzhen. It mentions neither parameter, leaving the caller to infer both from the bare schema types.

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 precisely and enumerates exactly what comes back: session times, tier names, face/actual price, remaining stock, and purchase limits. That is far more specific than the title. However, it never distinguishes this tool from the near-identical sibling damai_get_performance_tickets or from get_performance_detail, so an agent still has to guess which of the pair to invoke.

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

Usage Guidelines3/5

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

A concrete prerequisite is given (must call import_cookie first, otherwise an explicit error is returned), which is genuinely useful guidance. The presale-vs-on-sale branching is described as internal routing rather than a choice the caller makes. Nothing says when to prefer this tool over the detail or search siblings.

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