Skip to main content
Glama

Set portal

set_portal
DestructiveIdempotent

Enable a portal UI around the published site (sales banner, client review, demo).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "set_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSite id.
typeYes"sales", "review", "demo", ….
configNoExtra portal config, merged in.
statusNoe.g. "unclaimed" (default), "claimed".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Site id. Pass it on every call."New value: +"Site id."
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=true, and readOnlyHint=false, so the safety profile is covered structurally. The description adds useful domain context about portals and example types, but it does not explain what enabling replaces, how config is merged, or what permissions are required. It does not contradict the annotations.

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 definition is a single tightly written sentence with the core action front-loaded. The parenthetical examples are compact and useful, with no filler.

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

Completeness3/5

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

For a destructive, open-world mutation with a nested config object, the definition is adequate mainly because annotations and a fully documented schema carry the safety and parameter burden. It still lacks explicit handling of prerequisites such as publishing, precedence when a portal already exists, and the resulting effect of the call.

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 id, type, config, and status are already documented in the schema. The description's parenthetical examples overlap with the type parameter's existing examples and do not add format or interaction semantics beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Enable') and resource ('portal UI') scoped to the published site, with examples of portal types. It does not explicitly contrast with sibling tools such as get_portal or remove_portal, so sibling differentiation is left implicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no stated prerequisites beyond the passing phrase 'around the published site,' and no alternative tool named. An agent must infer that get_portal or remove_portal should be used for other portal operations.

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