Skip to main content
Glama
ilyautov

moysklad-mcp-ru

by ilyautov

ms_get_profit

Read-only

Retrieve profitability data per product (sales, cost, profit, margin) for a specified period. Supports pagination and optional conversion from kopecks to rubles.

Instructions

Profitability by product (sale, cost, profit, margin). Money in kopecks.

Args: moment_from / moment_to: period bounds "YYYY-MM-DD HH:MM:SS" (report needs them). limit/offset: pagination (rows under "rows"). rubles: kopecks→rubles (default true). Returns JSON: {"ok": true, "data": {"meta", "rows": [ ... ]}}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
rublesNo
moment_toNo
moment_fromNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only behavior is clear. The description adds value by disclosing pagination (limit/offset), period bounds (moment_from/moment_to), and the rubles conversion toggle, which are behavioral aspects beyond the annotation.

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 concise and well-structured: a one-sentence purpose statement, followed by a succinct list of arguments with explanations, and the return format. Every sentence adds value without unnecessary detail.

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?

Given that an output schema exists, the description does not need to detail return values. It covers all essential aspects: purpose, all 5 parameters with clear explanations, and the return structure. The tool is non-destructive (readOnlyHint), and no prerequisites are missing for typical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It does so thoroughly by explaining each parameter's purpose: moment_from/moment_to as date-time strings in a specific format, limit/offset for pagination, and rubles for converting kopecks to rubles. This adds necessary meaning beyond the schema's field names and types.

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 clearly states the tool's purpose: 'Profitability by product (sale, cost, profit, margin).' It distinguishes itself from sibling tools like ms_get_money and ms_get_turnover by focusing on profitability breakdown per product.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus related tools such as ms_get_turnover or ms_get_money. The description only explains parameters and return format, leaving the agent to infer usage context.

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

Install Server

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/ilyautov/moysklad-mcp-ru'

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