Skip to main content
Glama

Привязать задачу ИИ к внешней

ai_jobs_reconcile

Restore the link to an existing remote job by explicit remote_id after an uncertain send result, verifying match in the panel without creating a duplicate paid task.

Instructions

Восстанавливает связь по явно выбранному remote_id после неопределённого результата отправки. Панель проверяет соответствие; повторно платную задачу не создаёт.

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": {
      "job": "<job>",
      "remote_id": "<remote_id>"
    },
    "name": "ai_jobs_reconcile"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
remote_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare write, open-world and non-destructive, so the safety profile is covered. The description adds real value by saying the panel verifies the match and that no duplicate paid task is created, which speaks to cost safety. But with idempotentHint=false, the agent gets no clarity on whether a retry after a failed reconcile is safe, and no detail on the failure mode when verification fails.

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?

Two short sentences with the action front-loaded and no filler. Each clause carries a distinct fact: the mechanism, the verification step, and the no-duplicate-billing guarantee.

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

Completeness3/5

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

For a 3-parameter write tool with no output schema, the description covers purpose, trigger and a key safety property but omits the semantics of the required 'job' parameter and the outcome when the panel's verification fails. Adequate but with clear gaps an agent would have to discover at call time.

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 description coverage is only 33%: only 'case' is documented in the schema. The description adds meaning for remote_id (must be explicitly chosen and is used to restore the link), but 'job' is left entirely unexplained in both schema and description, and the description does not compensate for that gap.

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?

The description states a specific verb and resource: it restores the link between an AI job and an external task using an explicitly chosen remote_id. It implicitly contrasts with ai_jobs_create by stating the paid task is not created again, but it never names a sibling tool, so an agent must infer the boundary with ai_jobs_create/ai_jobs_get.

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

Usage Guidelines4/5

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

The trigger condition is clear: use this after an indeterminate send result, when you already know the external remote_id. That effectively frames it as a recovery path rather than the normal flow. There is no explicit statement of when not to use it or what to do if no remote_id was ever obtained.

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

Deploy Server

Other Tools