code_set_domain
Attach a domain to a code site's Vercel project. Returns verification records if DNS setup is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to attach (e.g. mysite.com) | |
| site_id | Yes | Code site id |
Attach a domain to a code site's Vercel project. Returns verification records if DNS setup is needed.
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to attach (e.g. mysite.com) | |
| site_id | Yes | Code site id |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already disclose that this is destructive (destructiveHint=true), mutating (readOnlyHint=false), and non-idempotent, so the safety profile is covered. The description adds the useful return-behavior detail "Returns verification records if DNS setup is needed," which helps the agent anticipate response content, but doesn't cover auth, reversibility, or side effects on existing domains.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences with zero waste; the core action is front-loaded and the return behavior follows naturally.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive, non-idempotent operation with no output schema, the description should cover more: what happens to an existing domain (replacement/conflict), required permissions, or that the action cannot be undone. It states the purpose and a partial return behavior but leaves meaningful operational gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both parameters documented ("Domain to attach (e.g. mysite.com)" and "Code site id"). The description does not add syntax, format, or meaning beyond the schema, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description delivers a specific verb and resource ("Attach a domain to a code site's Vercel project"), clearly distinguishing it from siblings like connect_vercel, vercel_link, and code_set_public. An agent can identify its exact operation from the text alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as vercel_link or connect_vercel, nor any prerequisites or exclusions. The agent must infer usage from the name and description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.