Skip to main content
Glama

users_get_all

Retrieve details of all user accounts within an organization using pagination parameters to manage large datasets effectively. Integrates with Yandex Tracker MCP for streamlined user data access.

Instructions

Get information about user accounts registered in the organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number to return, default is 1
per_pageNoThe number of items per page. May be decreased if results exceed context window. If there is a change in per_page argument - retrieval must be started over with page = 1, as the paging could have changed.

Implementation Reference

  • Handler function for 'users_get_all' tool, decorated with @mcp.tool for registration. Fetches paginated list of users from Yandex Tracker using the tracker client.
    @mcp.tool( description="Get information about user accounts registered in the organization" ) async def users_get_all( ctx: Context[Any, AppContext], page: PageParam = 1, per_page: PerPageParam = 50, ) -> list[User]: users = await ctx.request_context.lifespan_context.users.users_list( per_page=per_page, page=page, auth=get_yandex_auth(ctx), ) return users
  • Input schema definitions for pagination parameters (PageParam, PerPageParam) used by the users_get_all tool.
    PageParam = Annotated[ int, Field( description="Page number to return, default is 1", ge=1, ), ] PerPageParam = Annotated[ int, Field( description="The number of items per page. May be decreased if results exceed context window. " "If there is a change in per_page argument - retrieval must be started over with page = 1, " "as the paging could have changed.", ge=1, ), ]
  • Invocation of register_tools which registers the users_get_all tool (along with others) on the MCP server instance.
    register_tools(settings, mcp)

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/aikts/yandex-tracker-mcp'

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