Skip to main content
Glama

List sample projects

list_samples
Read-only

【認証不要】匿名(未ログイン)でも使える。サンプルのワークスペース(公式のサンプル・OSSのサンプルなど)の公開構成図の一覧を返す(ログイン時も同じ)。 用途: 新しい設計の参考事例、サンプルを土台にした作成。 list_projects との違い: list_projects は自分が閲覧権限を持つプロジェクト(サンプルを含まない)、本ツールはサンプルだけ。 ワークスペース: 既定はすべてのサンプルのワークスペース。workspace で1つに絞れる(一覧の先頭にサンプルのワークスペースの名前と id を出す)。 ページング: 既定は page=0 / itemperpage=24。 入力: page, itemperpage, workspace(すべて省略可)。 出力: 公開プロジェクトの id とタイトルの一覧。末尾に total / totalPages。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_samples"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo0 起点のページ番号 (default 0)。default の itemperpage=24 件単位でページング。
workspaceNoサンプルのワークスペースで絞る(workspace_id か名前)。省略時はすべてのサンプルのワークスペース。
itemperpageNo1 ページあたりの件数 (default 24、最大 100)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspace
      Added value: +{
      +  "description": "サンプルのワークスペースで絞る(workspace_id か名前)。省略時はすべてのサンプルのワークスペース。",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes beyond that with an auth behavior that annotations cannot express ('認証不要' anonymous access, same result when logged in) and with paging defaults and the returned fields. It stops short of describing sample counts or ordering of results, which keeps it at a 4 rather than a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Labeled sections (用途, 差分, ワークスペース, ページング, 入力, 出力) make it easy to scan and front-load the auth and purpose notes. There is mild redundancy: the 'すべてのサンプルのワークスペース' default is stated in both the workspace section and the input line, and the paging defaults appear twice.

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?

For a three-optional-parameter read tool with no output schema, the description covers auth requirements, filtering, paging, and the shape of the returned list including total and totalPages. Nothing an agent would need in order to call it correctly is missing.

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 100%, so the baseline is 3; the description slightly exceeds it by explaining the observable effect of the workspace filter ('一覧の先頭にサンプルのワークスペースの名前と id を出す'). Most of the paging and default information restates the schema, which caps the gain.

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 a specific verb and resource: it returns a list of public configuration diagrams for sample workspaces (official samples, OSS samples), and adds that it works anonymously or logged in. It also names the boundary against list_projects ('list_projects は自分が閲覧権限を持つプロジェクト(サンプルを含まない)'), so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

It gives explicit use cases ('新しい設計の参考事例、サンプルを土台にした作成') and an explicit contrast section declaring what the sibling covers and what this tool covers. The when-to-use-vs-alternative decision is fully stated rather than inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources