Skip to main content
Glama

List contracts

list_contracts
Read-onlyIdempotent

Retrieve a paginated list of contracts from your Avito Ads account, with filtering by contract IDs, numbers, clients, or contractors. Includes legal details and remaining API points.

Instructions

Returns one page of contracts registered under the account: {total, items, page, limit, hasNextPage} plus apiPointBalance (weekly API points left). Each item carries id, type, number, date, subject, object (the contract action), cid, description (the counterparty type), parentId (set on additional agreements) and the client/contractor legal details. Narrow the page with filter.ids / filter.numbers / filter.clients (advertiser ids) / filter.contractors. limit is 1..100 (default 20); page is 1-based.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number. Default 1.
limitNoPage size, 1..100. Default 20.
filterNoFilter for the page. Omit for all contracts.
Behavior4/5

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

Annotations already convey read-only, idempotent, non-destructive behavior. The description adds valuable transparency by detailing the response envelope, item fields, pagination semantics (1-based page, limit 1..100), and filter options, going beyond the bare safety profile.

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, tightly packed with necessary information. The first sentence front-loads the primary outcome and response shape; the second covers fields and filters. No redundancy or filler.

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?

Since there is no output schema, the description carries the burden of explaining return values. It fully specifies the response envelope (total, items, page, limit, hasNextPage, apiPointBalance), item fields, filter capabilities, and pagination constraints. This is comprehensive for a read-only list operation.

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?

The input schema covers all parameters with descriptions (100% coverage), so the baseline is 3. The description echoes filter names and defaults but doesn't meaningfully expand on the schema's parameter details. It adds a bit of context by grouping filters and explaining 'parentId', but this is not substantial beyond schema.

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 opens with 'Returns one page of contracts registered under the account,' using a specific verb and resource while clearly distinguishing this from sibling tools like create_contract. It also outlines pagination and filtering, making the tool's function unambiguous.

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

Usage Guidelines4/5

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

The description implies usage by stating it returns contracts and how to narrow results via filters. It doesn't explicitly name alternatives or exclusions, but the context is clear enough for an agent to know when to invoke this tool versus others.

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/A1-x-Tech/mcp-avito-ads'

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