MCPFerramentas MCP/Localizações/list_location_tags
list_location_tags
Readlocations:read
List the distinct internal tags used across a client's locations (or the whole agency's), sorted alphabetically. Use this to DISCOVER which tags exist before filtering by tag — especially when a user names a subset without saying "tag" (e.g. "all my small-store locations"): call this to check whether "small-store" is one of their tags, then pass it as the `tags` filter to list_locations or the rollup tools. Pass clientId to scope to one client, or omit for the agency-wide tag vocabulary. You don't pass an agency — it comes from your credentials.
Parâmetros
clientIdstringopcional
Limit to one client's tags (get the id from list_clients). Omit for the whole agency's tag vocabulary. Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_location_tags",
"arguments": {}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.