Skip to main content
Glama
OriginQ

QPanda3 Runtime MCP Server

by OriginQ

setup_origin_quantum_account_tool

Configure authentication for Origin Quantum cloud services to access quantum computing resources and devices.

Instructions

Configure Origin Quantum qcloud account authentication.

Set up credentials to access Origin Quantum computing services. You can provide credentials directly, via a config file, or through environment variables.

Args: api_key: API key for authentication. If not provided, reads from QPANDA3_API_KEY environment variable. channel: Channel type - always "qcloud". config_path: Path to config.yml file containing api_key.

Returns: Setup status and account information including: - status: "success" or "error" - message: Status description - channel: The channel being used - available_devices: Number of accessible QPU devices

Example: # Using direct credentials setup_origin_quantum_account_tool(api_key="your_api_key")

# Using config file
setup_origin_quantum_account_tool(config_path="./config.yml")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
channelNoqcloud
config_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden. It explains that this tool configures authentication and describes the return format (status, message, channel, available_devices). However, it doesn't disclose important behavioral traits like whether this is a one-time setup or persists credentials, what happens on failure, or any rate limits/authentication requirements beyond the basic API key.

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 description is well-structured with clear sections: purpose statement, credential methods, parameter explanations, return format, and examples. It's appropriately sized for a configuration tool, though the 'Args:' and 'Returns:' sections could be more integrated with the narrative flow rather than appearing as separate documentation blocks.

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?

Given the tool's complexity (authentication setup), no annotations, and an output schema exists, the description provides good coverage. It explains what the tool does, how to use it, parameters, and return values. However, it could better address prerequisites (like needing an Origin Quantum account) and relationship to sibling tools that might use the configured authentication.

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?

With 0% schema description coverage and 3 parameters, the description provides excellent parameter semantics. It explains each parameter's purpose: api_key for authentication with fallback to environment variable, channel type always 'qcloud', and config_path for file-based configuration. The examples demonstrate practical usage patterns for different parameter combinations.

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 clearly states the tool's purpose: 'Configure Origin Quantum qcloud account authentication' and 'Set up credentials to access Origin Quantum computing services.' It specifies the verb ('configure', 'set up') and resource ('account authentication', 'credentials'), but doesn't explicitly differentiate from sibling tools like 'list_saved_accounts_tool' or 'active_account_info_tool'.

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 provides clear context about when to use this tool: to set up authentication for accessing quantum services. It explains three methods for providing credentials (direct, config file, environment variables) with examples. However, it doesn't explicitly state when NOT to use it or mention alternatives among sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OriginQ/qpanda3-runtime-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server