Skip to main content
Glama
yingcaihuang

Racore Cloud CDN MCP Server

by yingcaihuang

set_domain_geo_restriction

Configure geographic access control for a domain by setting a whitelist, blacklist, or removing restrictions using country codes.

Instructions

设置域名地理访问控制(仅 AWS)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes域名
restriction_itemNo国家代码 JSON 数组,如 ["CN","US"]
restriction_typeYes限制类型:none=无限制,whitelist=白名单,blacklist=黑名单
Behavior3/5

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

No annotations are provided, so the description must bear the burden of behavioral disclosure. It adds the important context that this tool is '仅 AWS' (AWS only), which helps the agent understand scope. However, it does not describe if the operation is destructive, requires permissions, or what side effects occur.

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 extremely concise, consisting of a single sentence that front-loads the purpose. However, it may be too brief for a configuration tool that could benefit from additional context. Still, it is well-structured and to the point.

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

Completeness2/5

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

Given that this is a set tool with no output schema and no annotations, the description lacks completeness. It does not indicate what happens upon success, error handling, or validation of inputs like the country code format. The tool's behavior is not fully described for an AI agent to invoke correctly.

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?

The input schema has 100% description coverage, so the description adds no additional parameter meaning beyond what is already in the schema. The baseline score of 3 is appropriate since the schema already explains the parameters (domain, restriction_item, restriction_type) with enums and descriptions.

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: setting domain geo access control, with a note that it applies only to AWS. This distinguishes it from siblings like query_domain_geo_restriction and other set_* tools. However, it could be more explicit about what geo restriction entails.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The context implies use when configuring geo restrictions, and there is a sibling query tool for reading current settings. However, the description does not mention alternatives or prerequisites.

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/yingcaihuang/racorecloud-mcp'

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