Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Create Custom Web Tab

sf_create_custom_tab
Idempotent

Create a custom web tab in Salesforce to open an external URL, Visualforce page, or web app. Adds a navigation item to the Salesforce UI for web-based resources.

Instructions

Creates a Custom Web Tab (URL-based tab) that opens an external URL or web page within the Salesforce UI. Different from sf_create_tab which creates object-based tabs. Use when you need a navigation item that points to an external website, an internal Visualforce page by URL, or a custom web app.

fullName: API name for the tab (no spaces, e.g. 'My_Web_Tab') label: display label shown in the tab bar url: the URL the tab points to, e.g. 'https://example.com' description: optional description hasSidebar: whether to show the Salesforce sidebar alongside the tab content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL the tab points to, e.g. 'https://example.com'
labelYesTab display label
fullNameYesTab API name, e.g. 'My_Web_Tab'
hasSidebarNoWhether the tab shows the Salesforce sidebar
descriptionNoTab description
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a mutating, non-destructive operation. The description adds meaningful context by defining the artifact (URL-based tab that opens external/page content) and clarifying it is a creation action, complementing the annotations without contradicting them.

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 compact: two purposeful sentences introducing the tool and distinguishing it, followed by a concise parameter list with inline examples. No filler. The parameter list is slightly redundant with the schema, but the overall structure is efficient and front-loaded with the core purpose.

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?

For a simple creation tool with well-annotated schema, the description covers the core context: what it creates, when to use it, how it differs from siblings, and what each parameter means. It does not explain return values or permissions, but given the 5-param schema and no output schema, the description is sufficiently complete for an agent to invoke it correctly.

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 the schema already documents each parameter. The description's parameter list mostly repeats schema details, but it adds small clarifications like 'no spaces' for fullName and provides examples (e.g., 'https://example.com'). This slightly enhances but does not significantly exceed the schema's value, so baseline 3 is appropriate.

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 opens with 'Creates a Custom Web Tab (URL-based tab) that opens an external URL or web page within the Salesforce UI'—a clear verb+resource combination. It explicitly distinguishes itself from sf_create_tab, which 'creates object-based tabs,' making the unique purpose instantly apparent.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Different from sf_create_tab which creates object-based tabs. Use when you need a navigation item that points to an external website, an internal Visualforce page by URL, or a custom web app.' This names the alternative and gives concrete use cases, fully satisfying the when-to-use vs alternatives requirement.

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/semwalajay83-sem/salesforce-metadata-mcp'

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