Skip to main content
Glama
bailian-tools-mcp
by niradler

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAILIAN_DEBUGNoSet to 1 to include the raw response in the result.
BAILIAN_MODELNoModel that executes search, extraction and code tools. Must support the Responses API.deepseek-v4.1-flash-1017
BAILIAN_CONFIGNoPath to a bailian CLI config; when BAILIAN_API_KEY is unset, the active profile's api_key is used.~/.bailian/config.json
BAILIAN_API_KEYNoModel Studio API key. Required unless a CLI profile exists (i.e. unless BAILIAN_CONFIG points to a config with an active profile).
BAILIAN_BASE_URLNoOpenAI-compatible endpoint; set this for another region or a workspace URL.https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1
BAILIAN_TIMEOUT_MSNoPer-request timeout in milliseconds.180000
BAILIAN_COST_NOTICENoSet to off to silence the cost footer appended to every result.
BAILIAN_IMAGE_MODELNoModel for image_search and text_to_image_search; the DeepSeek models reject those tools.qwen3.8-max

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Model Studio built-in tools run server-side and bill your plan per call: web search $10 per 1,000 searches in Singapore ($0.57 elsewhere), extraction free for now, code interpreter per run. Prefer one well-scoped call and ask the user before bulk or repeated use.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
web_searchA

Search the live web through Alibaba Cloud Model Studio's built-in web_search tool. Returns a synthesized answer with source links. Use for news, prices, releases and anything after your training cutoff. Billed to your Model Studio plan (~$10/1k web searches in Singapore) — ask before bulk use.

web_extractA

Fetch one or more URLs through Model Studio's web_extractor tool and return the extracted content, summarized for a given goal. Use when a page must be read rather than searched. Billed to your Model Studio plan (~$10/1k web searches in Singapore) — ask before bulk use.

code_interpreterA

Run Python in Model Studio's sandbox for calculations, data analysis, file parsing and charting. Send the task, not necessarily the code; returns the answer plus the executed code and output. Billed to your Model Studio plan (~$10/1k web searches in Singapore) — ask before bulk use.

image_searchB

Reverse image search: find visually similar images or trace where an image comes from, using Model Studio's image_search tool. Billed to your Model Studio plan (~$10/1k web searches in Singapore) — ask before bulk use.

text_to_image_searchA

Find images on the web from a text description using Model Studio's web_search_image tool. Use for visual answers, illustration hunting and image recommendations. Billed to your Model Studio plan (~$10/1k web searches in Singapore) — ask before bulk use.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a distinct role: web_search (query the web), web_extract (read specific URLs), code_interpreter (execute Python), image_search (reverse image lookup), and text_to_image_search (find images from a description). The only mild confusion is between image_search and text_to_image_search, but the descriptions clarify that one is reverse lookup and the other is description-based discovery.

Naming Consistency4/5

Naming is mostly snake_case with verb_noun structure (web_search, web_extract, image_search). Minor deviations exist: code_interpreter is a noun with no verb, and text_to_image_search adds a direction word, but the set remains readable and predictable.

Tool Count5/5

Five tools is a well-scoped set for the server's purpose of exposing Model Studio's built-in capabilities. Each tool maps to a distinct underlying capability, with no redundant or filler entries.

Completeness4/5

The surface covers the core Model Studio tools: search, extract, code execution, reverse image lookup, and text-to-image search. Minor gaps could include browsing/crawling or structured data extraction, but agents can work around these with the existing search and extract tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues