Skip to main content
Glama
bruhsb
by bruhsb

paperclip_get_heartbeat_context

Read-only

Retrieve issue state, ancestor summaries, goal/project info, and a comment cursor for incremental fetching without loading full comments.

Instructions

Get compact heartbeat context for an issue: state, ancestors, goal/project, and comment cursor.

Args:

  • issueId: string — Issue ID or identifier (example: "PAP-42")

Returns: Compact context object: issue state, ancestor summaries, goal/project info, lastCommentId cursor for incremental comment fetching.

Examples:

  • Use when: orienting yourself on an issue at the start of a heartbeat run without loading all comments

  • Don't use when: you need the full issue record — use paperclip_get_issue for complete fields

Error Handling:

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 404: issue not found → verify ID with paperclip_list_issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYesIssue ID or identifier (e.g. PAP-42)
response_formatYesOutput format: 'markdown' (default, human-readable) or 'json' (structured)markdown
Behavior5/5

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

Annotations already declare readOnlyHint=true; description adds context on returning a compact object with specific fields and error handling for 401 and 404. No contradictions. Fully discloses behavior beyond annotations.

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?

Description is well-structured with sections (overview, args, returns, examples, error handling) and uses bullet points. It is concise but includes necessary detail; no wasted sentences.

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?

Given no output schema, description sufficiently explains what is returned (compact context object with specific fields) and handles error cases. It is complete for a read-only tool fetching context.

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%, so baseline 3. Description adds an example for issueId but does not mention response_format. While schema describes response_format fully, description adds minimal extra value for parameters.

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 clearly states it gets a compact heartbeat context for an issue, listing specific components (state, ancestors, goal/project, comment cursor). It distinguishes from sibling tool paperclip_get_issue by noting when not to use it.

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

Usage Guidelines5/5

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

Provides explicit when-to-use (orienting at start of heartbeat run) and when-not-to-use (if full issue needed, use paperclip_get_issue), giving clear guidance on tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bruhsb/paperclip-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server