Skip to main content
Glama

get_team

Retrieve detailed information about a specific team by providing its unique ID within the Devici security management system.

Instructions

Get a specific team by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
team_idYes

Implementation Reference

  • MCP tool handler for 'get_team': decorated with @mcp.tool(), creates API client context, calls client.get_team(team_id), and returns stringified result.
    @mcp.tool() async def get_team(team_id: str) -> str: """Get a specific team by ID""" async with create_client_from_env() as client: result = await client.get_team(team_id) return str(result)
  • API client helper method implementing the core logic: makes authenticated GET request to /teams/{team_id} endpoint.
    async def get_team(self, team_id: str) -> Dict[str, Any]: """Get specific team by ID.""" return await self._make_request("GET", f"/teams/{team_id}")
  • The @mcp.tool() decorator registers this function as the 'get_team' MCP tool.
    @mcp.tool() async def get_team(team_id: str) -> str: """Get a specific team by ID""" async with create_client_from_env() as client: result = await client.get_team(team_id) return str(result)

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/sdelements/devici-mcp'

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