Skip to main content
Glama

Hierarchy: employee listings

hierarchy_list_items_by_employee_id_v1
Read-onlyIdempotent

Retrieve listing IDs assigned to a specific hierarchy employee, filtered by category, with cursor-based pagination using lastItemId and hasNext flag.

Instructions

Returns the IDs of listings assigned to a specific hierarchy employee, filtered by category (list_items_by_employee). The response contains an items array and a hasNext flag for cursor-based pagination. Fetching listings for the company as a whole is not available — only per employee. Read-only. Requires hierarchy permissions; employeeId is taken from hierarchy_get_employees_v1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
employeeIdYesID of the hierarchy employee whose listings are requested (employeeId from hierarchy_get_employees_v1).
categoryIdYesAvito category ID for filtering the employee's listings.
lastItemIdNoPagination cursor: the ID of the last listing from the previous page. Omit for the first page; keep going while hasNext=true.
Behavior4/5

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

Annotations already declare read-only, non-destructive, idempotent, and open-world hints. The description adds cursor-based pagination (hasNext flag) and permission requirements, which adds value beyond annotations without contradiction.

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 with 4 sentences, each serving a purpose: main action, pagination details, limitation, and permissions. No redundant information.

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?

Despite no output schema, the description explains the return structure (items array and hasNext flag) and links to another tool. It covers pagination, filtering, and required context fully.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaning by explaining employeeId origin, categoryId as Avito category, and lastItemId as pagination cursor with its usage pattern, thus exceeding the schema descriptions.

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 it returns IDs of listings for a specific employee, filtered by category. It distinguishes from siblings by noting that fetching for the entire company is not available, and it mentions read-only behavior and required permissions.

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 to use (per employee) and when not (company-wide). It references hierarchy_get_employees_v1 as the source for employeeId, providing clear guidance on prerequisites and 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/elchin92/avito-mcp'

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