Skip to main content
Glama
razavioo

kasra-mcp-server

by razavioo

Kasra Delete Credit Request

kasra_delete_credit_request

Cancel a submitted leave, permission, mission, or remote work request using its document ID. Remove the request from the system to keep records accurate.

Instructions

حذف یا لغو درخواست مجوز یا مرخصی ثبت‌شده در سیستم. Cancel or delete a submitted permission, leave, mission, or remote work request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYesشناسه سند درخواست (از خروجی kasra_get_submitted_requests)
reasonNoدلیل اختیاری
descriptionNoتوضیحات یا دلیل لغو
doc_type_idNoشناسه نوع سند (پیش‌فرض 1 برای ساعتی، 2 برای روزانه)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only states the delete/cancel action, but does not disclose that the operation is destructive, irreversible, or that it may fail for already-approved requests. It lacks any behavioral context such as permissions required, side effects, or response format.

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?

The description is two short sentences, front-loaded with the action. It is concise but repeats the same meaning in Persian and English, which is slightly redundant but not harmful. There is no unnecessary fluff.

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

Completeness2/5

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

For a destructive tool, important context is missing: no mention of which request statuses can be deleted, whether deletion is reversible, or what happens to related approvals. The output schema exists, so return format is covered, but the description lacks operational constraints and failure scenarios.

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 coverage is 100% with descriptions for all parameters, including doc_id from kasra_get_submitted_requests and doc_type_id defaults. The description itself adds no parameter guidance beyond what the schema provides. Baseline of 3 applies because the schema is thorough.

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 clearly states the action: 'Cancel or delete a submitted permission, leave, mission, or remote work request.' This is a specific verb+resource combination. It differentiates from the submit tool by the delete/cancel verb, though it doesn't explicitly name the sibling. The bilingual text adds clarity for Persian-speaking agents.

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

Usage Guidelines3/5

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

The description implies usage when the user wants to cancel a previously submitted request, but it provides no explicit guidance on when to use this tool versus alternatives, nor any exclusions (e.g., only for pending requests). There is no mention of prerequisites like authentication or status restrictions.

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