Skip to main content
Glama

セッションを作る

create_session

アバターの枠を確保し、ブラウザへ渡す client_token と WebRTC の接続情報を返します。課金はセッションが開いていた時間で数えるので、終わったら end_session してください。 (api_key が必要: signup で受け取ったキー)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
speedNo発話速度 0.8〜1.2 (既定 1.0)
api_keyYesAPI キー (sk_live_…)
languageNo読み上げ言語 (既定 ja)
metadataNo自由なラベル
voice_idNo声。edge-tts の音声名 (例 ja-JP-NanamiNeural) か gemini:<声>:<性別>:<年代>:<調子>。省略でアバターの既定
avatar_idYeslist_avatars の id
idle_timeout_secondsNo無発話で自動終了する秒数 30〜1800 (既定 180)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations are all false, so the description carries the burden of explaining side effects and state changes. It adds valuable behavioral context: reserving an avatar slot, returning session credentials, and the fact that billing accrues while the session is open. This goes beyond what annotations state.

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 two sentences with no filler. The core purpose is front-loaded, followed by a critical billing/lifecycle warning, and the auth note is concise. Every sentence earns its place.

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 tool with no output schema and a mutating side effect, the description covers the essential ground: what it does, what it returns, billing implications, and required auth. It does not enumerate error conditions or the full return payload, but given the schema coverage and annotations, this is not a critical gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already documents all parameters. The description does not add meaningful parameter-level detail beyond noting that api_key comes from signup, which is marginal extra context.

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 states the specific action: reserving an avatar slot and returning a client_token plus WebRTC connection info. The verb and resource are explicit墙, and the lifecycle contrast with end_session is immediately recognizable.

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 clear operational guidance: billing is based on session duration and end_session should be called when done. It also notes the api_key requirement. It does not explicitly contrast with get_session or list_sessions, but the context is largely unambiguous.

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