Skip to main content
Glama
nori1173-ops

SaaS_A MCP Server

by nori1173-ops

list_groups

Read-only

Retrieve every group for a tenant by tenant ID, including member and destination counts. Optionally expand to full member lists and notification destinations when contact details are required.

Instructions

テナントに紐づく現場(グループ)の一覧を取得します。

tenant_id は list_tenants で取得してください。

必要な権限レベル: 制限なし(どのユーザーレベルでも実行できます)。

既定で間引く項目:

  • member(所属ユーザー。メールアドレスを含む)→ member_count のみ。全量は include_members=true

  • destination(通知先。メールアドレスを含む)→ destination_count のみ。全量は include_destinations=true

  • children → has_children (bool) に置換。API 仕様上つねに空配列で、 子現場の詳細を取得する操作は提供されていないため、階層構造の完全な取得はできません

  • dashboard_id(単数形・未使用項目)→ 返しません。dashboard_ids を参照してください

このエンドポイントはページングに対応していないため、常に全件を返します。 現場の最大階層レベルは max_group_level として返します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoレスポンスの言語(ja / en)ja
tenant_idYesテナントID(UUID)。list_tenants で取得できる
include_membersNo現場所属ユーザー(member)の全量を含める。メールアドレスを含む
include_destinationsNo現場の通知先(destination)の全量を含める。メールアドレスを含む
Install Server

TDQS

A3.8/5.0
Behavior1/5

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

The description is rich in behavioral caveats: default thinning of email-containing fields, children always empty, dashboard_id omitted, and max_group_level returned. However, it directly contradicts the openWorldHint annotation by claiming the endpoint 'always returns all records' (常に全件を返します), while openWorldHint signals that the result set may not be complete.

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 organized with purposeful sections: purpose, precondition, permission, default field thinning, and pagination. Every sentence adds operational value and the structured bullets make the behavior easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with no output schema, the description covers the key output transformations, permission requirements, paging behavior, and hierarchy limitations, so an agent can understand what it will receive. It loses some completeness because the exhaustiveness claim conflicts with openWorldHint, but the rest of the call context is well covered.

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 complete, and the description adds meaningful parameter context: include_members and include_destinations control whether full email-containing fields are returned, and tenant_id is sourced from list_tenants. This goes beyond the schema's basic field 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 identifies the verb ('一覧を取得') and resource ('テナントに紐づく現場/グループ'), so the agent knows exactly what the tool returns. It is distinct from sibling list tools by specifying 'グループ' as the domain object and referring to list_tenants for the id.

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 gives practical usage context: tenant_id comes from list_tenants, no special permission is required, and the endpoint has no pagination. It does not explicitly contrast this tool with siblings such as list_group_dashboards, but the stated context is clear enough for correct selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/nori1173-ops/iot-saas-readonly-mcp'

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