Skip to main content
Glama

Yardstick ATS

Clear all draft competencies, leaving the section empty

yardstick_interview_plan_drafts_clear_competencies
DestructiveIdempotent

Clear every competency from a draft, leaving the stage deliberately empty — deterministic, no AI generation. Prunes the behavioral anchors of every cleared competency in the same write and reports the pruned ids. The emptied draft cannot be published as a new plan; bind the emptying onto an already-live plan with modify_active. Optional source_stage {stage: competencies, version} returns 409 when stale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes
actionYes
resourceYes
request_idNo
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond annotations by disclosing that the operation is deterministic, prunes behavioral anchors in the same write, reports the pruned ids, and makes the draft unpublishable as a new plan. It also explains the 409 stale-version behavior. This adds substantial behavioral context beyond readOnly/destructive/idempotent hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences with no filler. The primary action is front-loaded, and each sentence adds a distinct, useful fact: determinism, anchor pruning, publication restriction, and staleness behavior. It is dense but appropriately sized.

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

Completeness5/5

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

For a destructive draft-mutation tool with no output schema, the description is unusually complete: it covers the operation, side effects, returned information, publication constraints, the recommended alternative, and the stale version failure mode. An agent has enough to call it correctly and avoid the main pitfalls.

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 description coverage is 0%, so the description carries the burden. It usefully explains source_stage semantics and its stale-version 409 behavior. However, it does not clarify what happens when source_stage is omitted, and it does not add meaningful explanations for request_id or idempotency_key, though those are standard and partly self-evident.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: 'Clear every competency from a draft' and adds the key distinction 'deterministic, no AI generation.' It clearly separates this from generate_competencies and delete_competencies siblings by emphasizing it clears all competencies and prunes anchors, not just individual ones.

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 gives explicit usage context: the emptied draft cannot be published as a new plan, and the intended alternative path is to 'bind the emptying onto an already-live plan with modify_active.' It also warns about the stale source_stage returning 409. It does not explicitly contrast with delete_competencies for partial removal, but the guidance is clear enough for most selection decisions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.