Skip to main content
Glama

renew_work_plan_claim

Destructive

RENEWS your plan claim (every 10 minutes; lease of 15) and carries the STOP signal: stopRequested: true when a human asked to stop. progress declares where the plan stands; without it the lease is extended only within 45 minutes of your last declaration. Response: { renewed: true, leaseUntil, progress, stopRequested? }. Refusals { code, error }, nothing written: PLAN_CLAIM_LOST, PLAN_CLAIM_EXPIRED, PLAN_CLAIM_ENDED, PLAN_NOT_CLAIMED, PROGRESS_STALE, 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>"
    },
    "name": "renew_work_plan_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
planCodeYesThe code of the plan, as `list_work_plans` returns it.
progressNoYour progress declaration. Omitted: a keep-alive, refused (`PROGRESS_STALE`) when your last declaration is too old.
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.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the stop signal contract, the return shape, that refusals write nothing, and enumerates the full refusal and failure taxonomy including which are retryable-looking (STORAGE_ERROR) versus terminal (PLAN_CLAIM_EXPIRED). The destructiveHint=true annotation is not contradicted — renewal is a mutating lease write even though refusals leave state untouched.

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-loaded with the action and lease, then response shape, then error codes — a logical order with no filler. The long error-code enumeration is dense but functional; it could be grouped by cause rather than listed flat.

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 leased-write tool with no output schema, the description supplies the response shape, the stop-signal field, and the complete error surface an agent needs to branch on. Nothing material about invoking or interpreting the call is left out.

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 coverage is 100% and the schema already explains progress omission, PROGRESS_STALE, and the claimToken secret. The description restates those behaviors but adds no new syntax, defaults, or format guidance beyond the schema.

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 ('RENEWS your plan claim') and immediately pins the operational semantics: cadence every 10 minutes, lease of 15. It also names the extra payload the call carries (the STOP signal), so an agent can tell this apart from claim_work_plan or release_work_plan_claim without reading their schemas.

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 a concrete cadence ('every 10 minutes') and a critical exception: without a progress declaration the lease only extends within 45 minutes of the last declaration. It does not explicitly say to call claim_work_plan first or to use release_work_plan_claim when done, but the required claimToken makes the prerequisite implicit.

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.