Skip to main content
Glama

Samuelz® Communications

Reparaturbeleg melden

report_communication_repair

Record evidence for an already claimed communication repair; this does not claim it, register an executor, start a worker or resolve the customer concern. Copy bindingId, communicationId, repairKey, ownerThreadId and challenge from the same original claim. repairKey identifies that repair, not an arbitrary idempotency UUID. This write is not generally idempotent: never blindly repeat an ambiguous report.

Choose mode for the actual observed event: started binds an existing native turnId; ack records the worker acknowledgement; progress records an evidenced work checkpoint, not a dispatcher poll; finished is checked against existing terminal evidence; ambiguous records an uncertain start/run rather than starting again. For these modes omit release and allowance.

await_release requires the current native turnId and release.expectedCommit only. resume_after_release requires turnId, that same expectedCommit, the verified sourceCommit, exactly one of versionId or failedBuildId, and a fresh included-allowance attestation. The existing release/version, source, owner, challenge and CAS checks decide whether the technical continuation is available; this report grants no business or provider authority.

Return status=recorded or unavailable, always with customerEffectVerified=false; a rejected release continuation can include reasonCode and resumeLeaseGranted=false. Requires the existing communications:repair/write grant and exact binding. A finished worker is not customer resolution. Customer, payment, send and provider effects keep their separate authority.

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": {
      "bindingId": "<bindingId>",
      "communicationId": "<communicationId>",
      "repairKey": "<repairKey>",
      "ownerThreadId": "<ownerThreadId>",
      "challenge": "<challenge>",
      "mode": "<mode>"
    },
    "name": "report_communication_repair"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesReport an actually observed lifecycle event: started, ack, progress, finished, ambiguous, await_release or resume_after_release. Do not substitute polling for progress.
turnIdNoExisting native turn ID. Required for started and both release modes; release modes must match the original current turn.
releaseNoOnly for await_release/resume_after_release; preserve the existing strict mutually exclusive field contract.
allowanceNoresume_after_release only: fresh canonical included-allowance attestation. Omit for all other report modes; it grants no business authority.
bindingIdYesExact existing executor/principal binding for this connection and queue record; preserve it in the claim and all later reports.
challengeYesExact 32-character hexadecimal challenge returned by that successful claim. Keep it bound to that repair and owner.
repairKeyYesExact canonical repairKey returned by that queue/claim; not a caller-selected retry UUID.
ownerThreadIdYesExisting native owner chat for this claim. Keep it unchanged in all later reports; this field does not create a chat or transfer ownership.
communicationIdYesExact communicationId of the same eligible repair returned by the authorised queue or original claim.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • addedInput schema / properties / allowance / description
      Added value: +"resume_after_release only: fresh canonical included-allowance attestation. Omit for all other report modes; it grants no business authority."
    • addedInput schema / properties / allowance / properties / allowanceEvidenceSha256 / description
      Added value: +"SHA256 of the canonical allowance evidence, never the raw global allowance or credentials."
    • addedInput schema / properties / allowance / properties / allowanceObservedAt / description
      Added value: +"Canonical allowance observation in UTC with millisecond precision; the existing resume guard requires freshness under five minutes."
    • addedInput schema / properties / allowance / properties / allowancePath / description
      Added value: +"Exactly included_allowance."
    • addedInput schema / properties / allowance / properties / decision / description
      Added value: +"Exactly start from the canonical successful allowance decision."
    • addedInput schema / properties / bindingId / description
      Added value: +"Exact existing executor/principal binding for this connection and queue record; preserve it in the claim and all later reports."
    • addedInput schema / properties / challenge / description
      Added value: +"Exact 32-character hexadecimal challenge returned by that successful claim. Keep it bound to that repair and owner."
    • addedInput schema / properties / communicationId / description
      Added value: +"Exact communicationId of the same eligible repair returned by the authorised queue or original claim."
    • addedInput schema / properties / mode / description
      Added value: +"Report an actually observed lifecycle event: started, ack, progress, finished, ambiguous, await_release or resume_after_release. Do not substitute polling for progress."
    • addedInput schema / properties / ownerThreadId / description
      Added value: +"Existing native owner chat for this claim. Keep it unchanged in all later reports; this field does not create a chat or transfer ownership."
    • addedInput schema / properties / release / description
      Added value: +"Only for await_release/resume_after_release; preserve the existing strict mutually exclusive field contract."
    • addedInput schema / properties / release / properties / expectedCommit / description
      Added value: +"Full 40-character expected source commit. await_release allows this field alone in release."
    • addedInput schema / properties / release / properties / failedBuildId / description
      Added value: +"resume_after_release only: UUID of the verified terminal build failure; mutually exclusive with versionId."
    • addedInput schema / properties / release / properties / sourceCommit / description
      Added value: +"resume_after_release only: verified full source commit from the matching live version or terminal failed-build receipt."
    • addedInput schema / properties / release / properties / versionId / description
      Added value: +"resume_after_release only: UUID of the verified live version; mutually exclusive with failedBuildId."
    • addedInput schema / properties / repairKey / description
      Added value: +"Exact canonical repairKey returned by that queue/claim; not a caller-selected retry UUID."
    • addedInput schema / properties / turnId / description
      Added value: +"Existing native turn ID. Required for started and both release modes; release modes must match the original current turn."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare a non-readonly, non-idempotent, non-destructive write; the description goes well beyond them by naming the required communications:repair/write grant, spelling out the non-idempotency hazard for ambiguous reports, and stating that the report confers no business or provider authority and that a finished worker is not customer resolution. It also discloses the response contract (status=recorded or unavailable, customerEffectVerified=false, optional reasonCode and resumeLeaseGranted=false) where no output schema exists. Nothing conflicts with the 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?

Purpose and the strongest negative scoping land in the first sentence, and the mode-by-mode paragraph is organized around the enum, so the agent can scan to its case. It is long and dense, with some near-repetition about lacking business/provider authority appearing three times in different words, which costs a point without undermining usability for a tool this complex.

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 9-parameter tool with nested objects, an enum of seven modes, and no output schema, the description covers the missing pieces: return values, authorization requirement, conditional field contracts, and the limits of what success means. An agent has enough to choose a mode and construct a valid call without further inference.

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?

With 100% schema coverage the baseline is 3, and the description earns above that by supplying cross-parameter, conditional semantics the schema cannot express: the identifier set must be copied from the same original claim, repairKey is the canonical repair rather than a caller-chosen idempotency UUID, await_release needs only turnId plus release.expectedCommit, and resume_after_release needs turnId, that same expectedCommit, sourceCommit, exactly one of versionId or failedBuildId, and a fresh allowance. The only gap is that a few individual fields (challenge, ownerThreadId) are restated rather than deepened.

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?

"Record evidence for an already claimed communication repair" is a precise verb+resource, and the same sentence immediately carves out what it is not: it does not claim the repair, register an executor, start a worker, or resolve the customer concern. That directly separates it from siblings like claim_communication_repair and register_communication_repair_executor without the agent needing to open any schema.

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?

The description prescribes mode selection by observed event (started → native turnId, ack → worker acknowledgement, progress → evidenced checkpoint not a poll, finished → checked against terminal evidence, ambiguous → uncertain run rather than a restart) and states which fields to omit for each group. It also gives explicit prerequisites (copy the identifiers from the same original claim) and an explicit prohibition ("never blindly repeat an ambiguous report"). Alternatives and exclusions are both covered.

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.

Resources