The MCP server tools one by one: list_models, generate_image, chat, web_search and others

Coding with AIMCP Server·· 28 views· 3 min read

Once the MCP server is set up, the agent sees nine tools, with the description and fields of each one, and picks which one to use on its own. You do not need to call them by name. But knowing what each one does helps you ask better.

The ones that only read

Tool What it does Fields
list_models Lists the models, with the id, the name and the price in credits. type (text, image, video, audio or agent), q and limit, all optional
get_model Shows the fields an image, video or voice model accepts. id
get_generation Shows the status of a generation and the links to the files. id
get_balance Shows the AI credits and, with a Coding Plan, the points left. None

These four cost nothing. In ChatGPT they run at once, without asking for confirmation.

The ones that generate

Tool What it does Fields
generate_image Generates an image from a description. prompt and, if you want, model and options
generate_video Generates a video from a description or from an image. prompt and, if you want, model, image_url and options
generate_audio Generates voice or sound from a text. text or prompt and, if you want, model and options

Without model, we use a default model of ours, good and cheap. options holds the model's own fields, such as the image size or the video length. The agent sees them with get_model.

Each generate_* sends the request and waits up to about 50 seconds. If the generation finishes, it returns the links to the files and, for an image up to 1 MB, the image itself, which the agent can see. If it does not finish, it returns the id, and the agent checks it later with get_generation. The generation keeps running on the server and is charged when it finishes.

The links to the files are not permanent. Ask the agent to download the files into the project.

chat: asking another model

chat asks a question to another text model or to one of your agents. The fields are model, messages or prompt and, if you want, system and max_tokens. Your agent keeps the model it already uses and asks another one for a second opinion, for example deepseek-ai/deepseek-v4-flash. Tokens are paid at the model price. With a Coding Plan, the plan models spend points.

web_search: searching the web

web_search takes a query and returns the top results, with the title, the link and a summary. Each search costs 0.5 credits. A search that fails costs nothing.

Permissions

With a key that only has ai:read, the agent sees the models, the generations and the balance, but cannot generate or chat. For everything, the key needs ai:read and ai:write. With your account, the authorization screen asks for both.

Before a long video or many images, ask the agent for the price, with list_models, and the balance, with get_balance. Example requests are in asking the MCP server in plain language.

Want these tools in your coding agent? See the Coding with AI page.

See Coding with AI

SEE ALSO

Asking the MCP server in plain language: example requests that work

What the MCP server costs, and testing it in the Sandbox

The All in One AI MCP server: images, video and voice inside Claude Code, Codex and ChatGPT

An AI video or voice is taking long or has failed: the statuses and what to do

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $5.36/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.