Skip to main content
Glama
uk-kd

ychetlab-mcp

by uk-kd

Удалить контрагента

counterparties_delete
Destructive

Delete a counterparty. If it is referenced by operations or documents, deletion is blocked; archive the counterparty instead.

Instructions

Удаляет контрагента. Если на него ссылаются операции или документы, панель откажет — тогда его архивируют через counterparties_save с archived=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
businessNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, а при единственном деле — оно.
counterpartyYesКонтрагент: название или идентификатор.
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, but the description adds meaningful behavior beyond that: deletion will be refused if references exist, and archiving is the fallback. This helps the agent anticipate failure and choose the correct path. No contradiction with annotations.

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 sentences, no filler. The primary operation is stated first, and the critical exception and workaround are packed into the second sentence without redundancy.

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 simple two-parameter destructive action, this description is complete: it states the operation, the failure condition, and the recommended alternative. The output schema is absent, but the failure behavior is disclosed, which is the main risk for this tool.

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 description coverage is 100%, and both parameters already have clear descriptions in the schema. The tool description does not need to add parameter details, so the baseline of 3 is appropriate.

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 begins with a clear verb and resource: 'Удаляет контрагента' (deletes a counterparty). It also distinguishes this tool from counterparties_save by describing the conditional refusal and the archiving workaround, so an agent can distinguish them.

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 explicitly states when deletion works, when it will be refused (if operations or documents reference the counterparty), and names the exact alternative: counterparties_save with archived=true. This is strong, actionable routing guidance.

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

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/uk-kd/ychetlab-mcp'

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