Skip to main content
Glama

验证云课堂令牌

cloudclass_whoami
Read-only

Return the CloudClass account bound to CLOUDCLASS_TOKEN to verify token validity and upload permission before publishing courseware.

Instructions

Return the CloudClass user bound to CLOUDCLASS_TOKEN. Use this before publishing to confirm the token works and whether the account can upload.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, it discloses that the call is bound to an environment token and that the result indicates whether the account can upload — real behavioral context about the response's meaning. It does not say what happens on an invalid or expired token (error vs. empty result), which is the main remaining gap.

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?

Two tight sentences, front-loaded with what is returned and followed by the when-to-use cue. 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?

For a no-parameter identity probe with no output schema, the description covers what comes back and why to call it. Only the failure/expiry behavior of an invalid token is left unstated.

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?

Zero parameters, so the baseline is 4. The description still adds value by making explicit that the credential is taken from CLOUDCLASS_TOKEN rather than passed as an argument, which the empty schema cannot convey.

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?

States a specific verb and resource: 'Return the CloudClass user bound to CLOUDCLASS_TOKEN'. That identity/auth-check purpose is clearly distinct from the resource CRUD siblings, so an agent can pick it out without opening any schema.

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?

Gives an explicit trigger: 'Use this before publishing to confirm the token works'. There is no when-not guidance and no named alternative, but no sibling performs token validation, so the omission is minor.

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