mcp server best practices.md

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.

MCP Server Best Practices

📌 Glue AI prompting tips for MCP

Optimize your experience by configuring rules

Save time by storing default IDs in server rules

When connecting a tool via an MCP server, you often need to provide IDs that identify where or how an action should happen — for example, which project, board, database, or repository to create something in. By saving these IDs in your server's rules, you can save yourself the step of manually providing IDs each time — Glue AI will do it for you.

Here’s how to discover the necessary IDs:

Read the tool's MCP manifest or docs

Most MCP-exposed tools will document their parameters. Look for:

Use the tool in Glue to see what it asks for

Try manually triggering the tool from a thread. If Glue prompts you for a value, that’s a strong hint you can set it ahead of time.

Example: If Glue AI ask “Which Linear project ID should this go into?”, that means you could write a rule that injects "project_id": "proj_abc123".