Skip to main content
Glama

list_workspaces

Read-only

List every Yirla workspace this connection has access to, and which one is currently active. Call this before switch_workspace if you don't already know the exact workspace name. Yirla is read-only: it never creates, edits, publishes or changes campaigns, ads, bids, budgets or creative on any ad platform. If the user asks for any of those actions, say plainly that Yirla can't do that, and offer to run an analysis instead.

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_workspaces"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 and destructiveHint=false, so the safety profile is known; the description adds that results are scoped to the connection's access and include the active workspace. The read-only/no-mutation paragraph reinforces rather than contradicts the annotations, though it partly restates what readOnlyHint already conveys. It doesn't cover return shape (names vs. IDs) or empty-list behavior.

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?

Front-loaded with the core action and the deciding condition in the first two sentences, which is exactly what an agent needs. The third and fourth sentences are policy boilerplate about Yirla's read-only nature that largely duplicates the readOnly annotation and could be trimmed per-tool.

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 zero-parameter list tool with no output schema, the description supplies enough: what is enumerated, that it is limited to connected access, that the active workspace is flagged, and how it sequences with switch_workspace. Nothing needed to invoke 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?

The tool takes zero parameters, so the schema has nothing to explain and baseline 4 applies. The description correctly spends no words on nonexistent arguments and instead frames the output.

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?

States a specific verb and resource ("List every Yirla workspace this connection has access to") plus the scope of what is returned (the currently active one). It also implicitly separates itself from switch_workspace, so an agent can tell which sibling to reach for without opening schemas.

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?

Explicit when-to-use: "Call this before switch_workspace if you don't already know the exact workspace name." It names the follow-on tool and the condition that selects it, and closes the loop on unsupported write requests by directing the agent to decline and offer an analysis instead.

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