Publish a candidate email template version
yardstick_email_templates_publishPublish a validated candidate email template version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_type | Yes | ||
| request_id | No | ||
| idempotency_key | No |
yardstick_email_templates_publishPublish a validated candidate email template version.
| Name | Required | Description | Default |
|---|---|---|---|
| email_type | Yes | ||
| request_id | No | ||
| idempotency_key | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark this as destructive and non-idempotent, and the description does not contradict them. However, beyond the 'validated candidate' precondition, it does not disclose what publishing changes, whether it replaces an existing version, or how reversible it is.
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?
The description is a single short sentence, front-loaded with the action verb and containing no filler. It under-specifies, but that is a completeness issue rather than a conciseness or structure issue.
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 publish operation with no output schema, the definition omits the effect on the current template, the prerequisite workflow, and parameter semantics. Sibling tools suggest a validate-publish-rollback lifecycle, but this description does not connect to it.
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 0% and the description mentions no parameters. The agent gets no explanation of how email_type, request_id, or idempotency_key should be used; the parameter names and enum values alone are insufficient.
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 uses a specific verb, 'publish', and names the resource, 'validated candidate email template version', which distinguishes it from siblings like validate, rollback, and preview. It lacks clarity about the resulting state, such as making the version active, but the core operation is identifiable.
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?
The description gives no explicit guidance on when to use this tool versus email_templates_validate or email_templates_rollback. The word 'validated' hints at a possible precondition, but no alternatives, exclusions, or workflow ordering are stated.
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.