Skip to main content
Glama

release_work_plan_claim

Destructive

RELEASES your plan claim (outcome): the claim ends and the plan can be claimed again (the refusals of claim_work_plan apply); its status does not change. progress, your last declaration, is written while the lease is live; expired, the claim still ends without it (progressNotRecorded). Response: { released: true, outcome, endedAt, progress }. Refusals { code, error }, nothing ended: PLAN_CLAIM_LOST, PLAN_CLAIM_ENDED, PLAN_NOT_CLAIMED, PLAN_CODE_MISMATCH, NO_PROJECT_TARGETED, CONNECTION_REQUIRED, WRITE_ACCESS_REQUIRED, PROJECT_OUT_OF_KEY_SCOPE, WRITE_LOCKED, PLAN_CLAIM_INVALID. Failures: STORAGE_ERROR, STORAGE_UNREADABLE, INVALID_INSTANT.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "planCode": "<planCode>",
      "claimToken": "<claimToken>",
      "outcome": "<outcome>"
    },
    "name": "release_work_plan_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
outcomeYesHow the claim ends. The plan status does not change.
planCodeYesThe code of the plan, as `list_work_plans` returns it.
progressNoYour last declaration, kept after the release. Omitted: your previous one stays.
claimTokenYesThe token `claim_work_plan` returned (a secret). A stale token: `PLAN_CLAIM_LOST`.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, readOnlyHint=false) by explaining exactly what ends, what persists (plan status unchanged), and the lease-expiry edge case where progress is dropped and flagged as `progressNotRecorded`. It also enumerates refusal codes and failure codes with the guarantee that nothing ended on a refusal, which is precisely the pre-call knowledge an agent needs for a destructive operation.

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?

Front-loads the action and its effect before conditions, response shape, and errors, so the agent gets the verdict first. The parenthetical-heavy, backtick-dense style and the long refusal list are information-dense but border on cryptic; nothing is gratuitous, though the list could be grouped better.

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 5-parameter mutation with no output schema, the description covers the return shape, the refusal and failure taxonomy, and the lease-expiry edge case. An agent has everything needed to call it correctly and interpret every likely outcome.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: it ties `progress` to the live-lease condition and the `progressNotRecorded` outcome, and ties `outcome` to how the claim ends. It adds little beyond the schema for `claimToken`, `planCode`, and `expectedProjectId`, keeping it from a 5.

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?

States a specific verb and resource ('RELEASES your plan claim'), names the parameter that controls it (`outcome`), and distinguishes the effect from siblings by noting the plan 'can be claimed again' and that its status does not change. An agent can tell this apart from claim_work_plan or renew_work_plan_claim 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.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly frames the release context and explicitly notes that claim_work_plan refusals apply after release, which tells the agent what state the plan returns to. It stops short of naming renew_work_plan_claim as the alternative when the intent is to extend rather than end a lease, so guidance is clear but not fully routing.

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.