Skip to main content

Vertical Access (Market)

mdmcp-market_data_entitlements

Report which market-data verticals this account can access.

Call this before offering vertical-specific analysis: the other tools list all verticals to everyone, but access varies by account. Requesting a vertical the account isn't entitled to returns an error. When vertical is omitted, default_vertical is what will be used.

Parameters​

No parameters.

Try it​

Loading interactive widget…

Code examples​

curl -s https://mcp.edited.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-06-18" \
-H "x-api-key: $MCP_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mdmcp-market_data_entitlements",
"arguments": {}
}
}'

Input schema​

{
"type": "object",
"properties": {}
}

Output schema​

Describes both branches of the envelope — result on success, error on a refusal. Validate against this rather than pattern-matching the prose above; see Concepts → Response shape.

{
"type": "object",
"properties": {
"result": {
"properties": {
"verticals": {
"description": "Verticals this account may query (`apparel` / `beauty` / `homeware`).",
"items": {
"type": "string"
},
"type": "array"
},
"default_vertical": {
"description": "The vertical used when a tool's `vertical` parameter is omitted.",
"type": "string"
},
"currency": {
"description": "Currency market-data figures are returned in.",
"type": "string"
}
},
"required": [
"verticals",
"default_vertical",
"currency"
],
"type": "object"
},
"error": {
"type": "object",
"description": "Present instead of `result` when the call was rejected. Branch on `code`; never string-match `message`.",
"properties": {
"code": {
"type": "string",
"enum": [
"invalid_input",
"not_entitled",
"upstream_unavailable",
"internal"
]
},
"message": {
"type": "string"
},
"field": {
"type": "string",
"description": "Offending parameter, when the failure is attributable to one."
},
"details": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"code",
"message"
]
}
},
"oneOf": [
{
"required": [
"result"
]
},
{
"required": [
"error"
]
}
],
"x-fastmcp-wrap-result": true
}