Skip to main content
Glama

brainkb_set_space_visibility

Set a space 'public' (anyone, even anonymous, can read) or 'private' (members only). Owner only. Everything in a public space is public: making a space public also makes all its subspaces public, and a subspace of a public space cannot be made private (409). Under a private space each subspace can be public or private on its own.

Input Schema

NameRequiredDescriptionDefault
slugYes
visibilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the authorization requirement (owner only), the cascading side effect (making a space public makes all subspaces public), the hard constraint that a subspace of a public space cannot be made private, and the resulting 409 error code. These are exactly the consequences an agent must know before calling.

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?

Front-loaded with the core operation, then the auth constraint, then the cascade and error rules. Every sentence adds decision-relevant information with no padding.

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?

Given no annotations, no output schema, and 0% schema coverage, the description supplies the authorization model, value semantics, cascade behavior, and error condition. The only notable gap is that it does not indicate what the call returns.

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 0% and the visibility parameter has no enum in the schema, so the description's enumeration and definition of 'public'/'private' is doing essential work the schema omits. The 'slug' parameter, however, gets no explanation beyond its presence in the schema.

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+resource (set space visibility) and immediately enumerates the two meaningful values with their semantics ('public' = anyone/even anonymous can read, 'private' = members only). This makes it easily distinguishable from siblings like create_space, delete_space, and read_space.

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?

It states the key prerequisite ('Owner only') and the operating conditions, so an agent knows who may call it. There is no sibling that also sets visibility, so naming no alternative is acceptable, but it stops short of explicit when-to-use framing.

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.