Skip to main content
Glama

upc_shiguang_credits

Read-only

Reads the bound user's Shiguang module credits, hours, and rank from the report-card page, returning available values while leaving required and remaining credits null.

Instructions

Read the bound user's Shiguang module credits/hours and rank.

Parses the report-card page's server-rendered hidden inputs. The page does not provide required/remaining credits, so those stay null; hours and credits are never mixed. No URL, account, header or cookie input.

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": "upc_shiguang_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_refNoself

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), so the description earns credit for adding genuinely new behavioral facts: required/remaining credits will be null because the page lacks them, hours and credits are kept in separate fields, and no URL/account/header/cookie input is accepted. That last point usefully confirms the tool is hard-scoped to the bound session.

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?

Front-loaded with the outcome, then two terse supporting lines covering parsing source, null-field caveat, and input restrictions. Every sentence carries information; nothing is redundant or padded.

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?

With no output schema, the description carries the return-value burden, and it does disclose the key fields (hours, credits, rank) plus the deliberate nulls. It omits the shape of the rank value and whether hours are cumulative or term-scoped, which keeps it just short of fully complete.

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?

There is a single non-required parameter with zero schema description coverage, but the description compensates by stating that no account or credential input exists and that the target is the 'bound user' — explaining why session_ref is a fixed 'self' rather than a selectable identifier. The meaning an agent needs is present even though the schema text is not.

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 first sentence names a specific verb and resource (read credits/hours and rank for the bound user) in the Shiguang module, which is enough to distinguish it from upc_shiguang_activities or upc_shiguang_report_card. It stops short of naming those siblings explicitly, so the differentiation is inferred rather than stated.

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?

The note that it 'parses the report-card page's server-rendered hidden inputs' implies it is a narrow extractor sitting beside upc_shiguang_report_card, but it never says when to pick this tool over that one or when it would be the wrong choice. Usage is left to inference.

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