Skip to main content
Glama
razavioo

kasra-mcp-server

by razavioo

Kasra Submit Credit Request

kasra_submit_credit_request

Submit a new credit request for leave, mission, overtime, or remote work by specifying credit type, dates, times, and reason.

Instructions

ثبت درخواست مجوز جدید (مرخصی ساعتی/روزانه، مأموریت ساعتی/روزانه، اضافه‌کار، دورکاری و ...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoدلیل اختیاری
end_dateYesتاریخ پایان شمسی به فرمت YYYY/MM/DD (مثال: '1405/06/30')
end_timeNoساعت پایان به فرمت HH:mm (مثال: '12:00') - الزامی برای مرخصی‌ها و مأموریت‌های ساعتی
is_dailyNoTrue اگر روزانه باشد، False اگر ساعتی باشد. در صورت تعیین‌نشدن، بر اساس پر بودن ساعت‌ها تشخیص داده می‌شود.
start_dateYesتاریخ شروع شمسی به فرمت YYYY/MM/DD (مثال: '1405/06/30')
start_timeNoساعت شروع به فرمت HH:mm (مثال: '09:00') - الزامی برای مرخصی‌ها و مأموریت‌های ساعتی
descriptionNoتوضیحات یا دلیل درخواست
credit_type_idYesکد نوع مجوز (از خروجی ابزار kasra_get_credit_types). مثالها: - 11001: استحقاقی ساعتی - 11002: استحقاقی روزانه - 11011: استعلاجی ساعتی - 11012: استعلاجی روزانه - 11021: مأموریت ساعتی - 11022: مأموریت روزانه - 14087: دورکاری ساعتی - 14084: دورکاری روزانه - 11101: اضافه‌کار عادی

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

B3.3/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 behavioral burden. It indicates a mutation (submitting a new request) but does not disclose side effects, validation behavior, whether submission is irrevocable, or whether the request enters an approval workflow.

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?

The description is a single focused sentence that front-loads the action and scopes the request types. It contains no filler or redundant restatement of the tool name.

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?

The description is enough for basic tool selection and the schema covers parameters, but for a mutating submit action with no annotations it omits workflow context such as prerequisites, side effects, or when hourly time fields are mandatory. The vague 'و ...' ending also leaves the supported types slightly open-ended.

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 the schema itself provides detailed parameter semantics including formats, examples, conditional requirements, and valid credit type IDs. The description adds no parameter-level detail, 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action—ثبت درخواست مجوز جدید (submit a new permission/credit request)—and enumerates the supported types: hourly/daily leave, mission, overtime, remote work. The action verb and 'new' clearly set it apart in action from deletion or retrieval tools, though it does not explicitly name any sibling alternative.

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?

Usage is implied by the listed request types: an agent can infer it should be used to submit leave, mission, overtime, or remote-work requests. However, there is no explicit guidance about when to use this tool instead of kasra_get_credit_types, kasra_get_submitted_requests, or kasra_delete_credit_request.

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