Skip to main content
Glama

Samuelz® Communications

Nächsten Reparaturauftrag lesen

get_next_communication_repair
Read-onlyIdempotent

Select the next currently queued, current-head and lifecycle-eligible repair for your exact existing principal binding. Use this to select one actionable candidate, list_communication_repairs for a bounded queue overview, or get_communication_repair for a known or terminal record.

Supply bindingId. To continue, copy the returned repair.communicationId as afterCommunicationId under the same binding. Returns available with one safe repair or unavailable; this live selection neither reserves nor claims the candidate. Reread current eligibility before the separate claim action.

Same current communications:repair, Owner and Communications authority as the queue reader. No customer text, claim, worker start, recovery, sends or business-completion evidence.

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>"
    },
    "name": "get_next_communication_repair"
  }
}

Input Schema

NameRequiredDescriptionDefault
bindingIdYesExact existing executor/principal binding expected for the current user, tenant, client and grant; not a new binding request.
afterCommunicationIdNoExact communicationId of the known repair from the same authorised queue/claim context.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / afterCommunicationId / description
      Added value: +"Exact communicationId of the known repair from the same authorised queue/claim context."
    • addedInput schema / properties / bindingId / description
      Added value: +"Exact existing executor/principal binding expected for the current user, tenant, client and grant; not a new binding request."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile needs less explanation. The description still adds genuine behavioral context beyond them: selection 'neither reserves nor claims the candidate', the required authority ('same current communications:repair, Owner and Communications authority as the queue reader'), and an explicit negative-scope list (no customer text, claim, worker start, recovery, sends). It stops short of describing ordering or exhausted-queue behavior beyond the available/unavailable status.

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 scope, then routing, then mechanics, then constraints – a logical order with no filler sentences. It is dense and jargon-heavy ('current-head', 'lifecycle-eligible', 'business-completion evidence'), which slightly raises parsing cost, but every sentence carries distinct information.

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?

No output schema exists, and the description compensates by stating the return shape ('Returns available with one safe repair or unavailable') and the non-reserving nature of that result. With both parameters fully documented and authority, scope limits and follow-up sequencing given, nothing an agent needs to invoke this correctly is missing.

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 description coverage is 100%, so baseline would be 3, and the description adds real meaning by framing afterCommunicationId as a cursor sourced from the prior return rather than any arbitrary known id. That continuation rule is not stated in the schema and is the key invocation detail for paging. bindingId is largely left to the schema text.

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 first sentence gives a specific verb ('Select') and a precisely scoped resource ('the next currently queued, current-head and lifecycle-eligible repair') tied to an existing principal binding. It is immediately distinguishable from list_communication_repairs (bounded overview) and get_communication_repair (known or terminal record), so an agent can route without opening 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?

Explicit routing is provided for all three relevant siblings with the condition that selects each. It also states the continuation workflow ('copy the returned repair.communicationId as afterCommunicationId under the same binding') and the sequencing constraint ('Reread current eligibility before the separate claim action'), so when-to-use and when-not-to-use 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