Skip to main content
Glama

查看资源详情

cloudclass_get_resource
Read-only

Retrieve a CloudClass resource by ID to inspect its file list and package entry point, with read-only access that avoids modification.

Instructions

Get one CloudClass resource, including its file list and package entry point. Read-only.

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": {
      "resource_id": "<resource_id>"
    },
    "name": "cloudclass_get_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
resource_idYes资源 ID,例如 r_xxx

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the trailing "Read-only" sentence largely repeats structured data. The valuable addition is the disclosed return content (file list and package entry point), though with openWorldHint=true the description says nothing about external/remote content or failure behavior for missing IDs.

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?

Two tight sentences with the core purpose front-loaded and no filler. The closing "Read-only" clause is mildly redundant against the annotations but costs little space.

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 usefully names what comes back (file list, package entry point), which is the main thing an agent needs. It is nearly complete for a simple single-parameter read, with only edge-case behavior for invalid or missing IDs left unstated.

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 coverage is 100% and the single resource_id parameter is fully documented in the schema, so the schema carries the burden. The description adds no format or constraint detail beyond what the schema already states, which is the expected baseline for a one-parameter tool.

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 gives a specific verb and resource ("Get one CloudClass resource") and clarifies the payload includes the file list and package entry point, which lets an agent separate it from list-style siblings. It stops short of naming any sibling explicitly, so differentiation is inferred from the singular 'one resource' phrasing 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?

Usage is only implied: fetch a single resource when you already have its ID. There is no explicit when-to-use, no mention of when to prefer cloudclass_list_resources, and no prerequisite or error guidance.

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