Skip to main content
Glama

Link code change

loopback_link_change
Idempotent

Link a code fix to a feedback item by storing repo, branch, commit, PR URL, and diff summary, making the resolution auditable.

Instructions

Attach the fix to a feedback item so the loop is auditable: which repo/branch/commit/PR addressed it and a one-paragraph diff summary.

Args: id, plus any of repo, branch, commit, pr_url, diff_summary. Provided fields merge into existing links.

Call this right after committing the fix, before updating status to 'fixed'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesFeedback id, e.g. 'fb_mabc12_3f9a1c'
repoNoRepository, e.g. 'dj/appbroda-web'
branchNoBranch name of the fix
commitNoCommit SHA of the fix
pr_urlNoPull request URL
diff_summaryNoOne-paragraph summary of what changed

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesFeedback id, e.g. 'fb_mabc12_3f9a1c'
urlNo
bodyYes
typeYes
extraYesFree-form captured context. Read `extra.failed_responses` for failing requests with up to 2KB of response body, and `extra.context` for LLM/automation run metadata (run_id, model, trace_url).
linksYesRepo/branch/commit/PR of the fix
routeNo
titleYes
sourceYes
statusYes
consoleYesConsole lines captured at report time
networkYesNetwork calls captured at report time
projectYes
commentsNoFull audit trail
reporterYes
severityYes
created_atYes
replay_urlNo
resolutionNo
updated_atYes
attachmentsNoFiles attached to this item. `intent` decides what you do with each: 'reference' is context for the fix and never ships; 'asset' is a deliverable — copy it from `path` to `target_path` in the repo, commit it, and record that with loopback_link_change. Read files from `path` directly rather than fetching `url`.
repro_stepsYes
dom_selectorNo
assignee_agentNoAgent currently holding the claim
screenshot_pathNo
Behavior5/5

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

Discloses the write operation and merge behavior ('Provided fields merge into existing links') and clarifies a non-destructive update with idempotentHint true. This goes beyond annotations by revealing the upsert semantics and its place in the audit flow. No contradiction.

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?

Three concise sentences cover purpose, args, and invocation timing. No fluff. The second paragraph lists args efficiently and the third gives a crisp trigger condition.

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 small, well-annotated tool with a complete schema and output schema, the description supplies the essential workflow placement and merge semantics. Nothing needed beyond what's given; the output schema exists, so return-value detail isn't required.

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 already covers all parameters with examples and 100% coverage. The description adds the merge behavior, telling the agent that partial field updates are allowed and that fields combine with existing links. That contextualizes usage beyond schema descriptions.

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 opens with 'Attach the fix to a feedback item so the loop is auditable' – a specific verb-target-purpose. It names the exact fields (repo, branch, commit, pr_url, diff_summary) and differentiates from sibling tools like loopback_update_status by defining the unique link-record operation.

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?

Explicitly states when to call: 'right after committing the fix, before updating status to fixed'. Provides clear workflow context, implying this tool precedes status updates. No explicit alternatives, but the timing instruction is strong guidance.

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/joshidikshant/loopback'

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