Skip to main content
Glama

mcporch_heartbeat

Extend an active task lease during long-running implementation or testing to keep the task reserved while work continues.

Instructions

Extend the active task lease during long-running implementation or testing.

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": {
      "task_id": "<task_id>",
      "lease_token": "<lease_token>"
    },
    "name": "mcporch_heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
lease_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire burden of behavioral disclosure. 'Extend' signals a mutation of lease state, but the description says nothing about what happens if the lease has already expired, whether the token must be current, whether extension is idempotent, or what a failed versus successful extension looks like. For a state-mutating lease tool, that is a substantial gap.

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?

A single sentence with the verb-and-resource leading and the qualifying context trailing; nothing is redundant or padded. It is efficient, though its brevity is partly a symptom of under-specification rather than disciplined economy.

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

Completeness2/5

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

For a lease-mutation tool with no annotations, no output schema, and 0% parameter documentation, the definition is too thin. An agent cannot determine token provenance, expiry/interruption semantics, or retry behavior from either the description or the structured fields.

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

Parameters2/5

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

Schema coverage is 0% – the two properties carry only bare titles ('Task Id', 'Lease Token') with no descriptions. The description does not explain where lease_token comes from (presumably issued by create_task or returned by task_status) or what identifies a valid active lease. The low-coverage schema needed the description to compensate and it does not.

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

Purpose4/5

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

Names a specific verb ('Extend') and a specific resource ('the active task lease'), and the qualifying clause ('during long-running implementation or testing') makes the intent unambiguous. It is clearly distinct from sibling operations such as get_task, task_status, and submit_result, though it does not explicitly name those siblings to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The phrase 'during long-running implementation or testing' gives an implied trigger condition, which is more than nothing. However, it gives no cadence (how often to call), no preconditions (whether the lease must still be valid), and no exclusion such as not calling after submit_result or cancel_task. An agent must infer all of the operational policy.

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