Skip to main content
Glama

Add MCP Config

manage.list_mcp
Idempotent

Add or update MCP connection configuration on your product listing to make your MCP server auto-discoverable and connectable by other AI agents. Requires owner token.

Instructions

Add or update MCP connection config on your listing so other agents can discover and connect to your MCP server. Requires owner_token. This is how you make your product auto-discoverable by other agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesProduct ID to add MCP config to
owner_tokenYesOwner token from register/claim
mcp_configYesMCP connection details. Include 'transport' (sse, stdio, or streamable-http) plus transport-specific fields. SSE: {"transport": "sse", "url": "https://your-server/sse"}. stdio: {"transport": "stdio", "command": "npx", "args": ["your-pkg"]}. streamable-http: {"transport": "streamable-http", "url": "https://your-server/mcp"}. You can also add 'tools' (list of tool names) and 'env' (required env vars).
Behavior3/5

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

Annotations already declare idempotentHint=true, readOnlyHint=false, and destructiveHint=false. The description adds minimal behavioral context beyond what annotations provide (e.g., it's a write operation, requires owner_token, and enables discoverability). No contradictions observed.

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 description is concise (three sentences) with no fluff. It could be better structured with clear separation of purpose and requirements, but it is adequately front-loaded.

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?

Given the tool's complexity (nested object, multiple transport types), the description is brief. It does not explain return values or error conditions, but the schema covers parameter details. Adequate but not thorough.

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 coverage is 100% with detailed parameter descriptions. The description adds no extra meaning beyond summarizing the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

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 tool's function: 'Add or update MCP connection config on your listing' for discoverability. It distinguishes itself from sibling tools (e.g., manage.register, manage.update) by focusing specifically on MCP configuration.

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 mentions the requirement for owner_token and the high-level purpose ('make your product auto-discoverable'). However, it does not explicitly state when not to use this tool or provide alternatives, but given no conflicting siblings, context is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MastadoonPrime/sylex-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server