Skip to main content
Glama

Wisp

Expose project as MCP server

set_mcp_server

Turn the project's own MCP server on or off: /_mcp serves one tool per function marked as an MCP tool (with its input/output schemas); /_mcp?test serves the draft.

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": {
      "project": "<project>",
      "enabled": "<enabled>"
    },
    "name": "set_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
projectYesProject id (p…) or address (slug)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It helpfully explains that /_mcp exposes one tool per marked function with schemas and that /_mcp?test serves the draft, but it omits permissions, reversibility, and what disabling affects.

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?

The definition is a single front-loaded sentence with no wasted preamble. The endpoint details are dense but purposeful, though the sentence is long and could be split for readability.

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 simple two-parameter toggle with no annotations or output schema, the description covers the core effect and endpoint behavior. It still leaves out prerequisites and side effects that an agent would need to invoke the tool confidently.

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?

The description adds some meaning by framing the boolean as 'on or off', and the project parameter is documented in the schema. It does not add further detail beyond what the schema already provides, which is acceptable at 50% coverage but not compensating for the undocumented enabled field.

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?

The description states a specific verb and resource: turning the project's own MCP server on or off. It is clear what the tool does, but it does not explicitly distinguish itself from related siblings such as set_config or publish.

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

Usage Guidelines3/5

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

Usage is implied by 'turn ... on or off', and the draft-test endpoint provides useful context. However, there is no explicit guidance on when to use this versus publish or set_config, nor any prerequisites for enabling the server.

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