Skip to main content
Glama
itsablabla

perplexity-control-mcp

by itsablabla

agent_create

Create agent responses with Perplexity's Agent API, supporting multi-step reasoning, web search, URL fetching, and custom function tools.

Instructions

Create an agent response using the Perplexity Agent API (POST /v1/agent). Supports multi-step agentic reasoning with web search, URL fetching, and custom function tools. Either model, models, or preset must be provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesInput string or array of message objects ({role, content}).
modelNoModel in provider/model format, e.g. 'openai/gpt-5.4'.
toolsNoTools available to the agent (web_search, fetch_url, function).
modelsNoFallback chain of models (max 5). Takes precedence over model.
presetNoPreset configuration.
max_stepsNoMaximum number of agentic steps (1-10).
reasoningNoReasoning configuration object with optional 'effort' field.
instructionsNoSystem-level instructions for the agent.
response_formatNoStructured output format: {type: 'text'|'json_object'|'json_schema', json_schema?: {...}}
max_output_tokensNoMaximum tokens in the response.
language_preferenceNoISO 639-1 language code, e.g. 'en', 'fr', 'es'.
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool supports multi-step reasoning, web search, URL fetching, and custom tools, and notes the required model/preset. However, it does not mention side effects like cost, rate limits, authentication requirements, or the structure of the response. This is modest but insufficient behavioral detail for a create-style tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences, each serving a distinct purpose: the first states what the tool does, the second lists capabilities, the third clarifies a key parameter constraint. No fluff, no repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 11 parameters, nested objects, and no output schema, the description provides a reasonable high-level overview but lacks information about the response format, error behavior, or how the agent runs (e.g., synchronous vs async). The schema fills parameter details, but the absence of output schema means the description should have explained what the caller receives.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds significant value by stating the critical constraint that one of model, models, or preset must be provided, which is not encoded in the schema's required list (only 'input' is required). This helps the agent invoke the tool correctly despite the schema implying flexibility.

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 clearly states the tool creates an agent response using the Perplexity Agent API, with a specific HTTPS endpoint (POST /v1/agent). It distinguishes itself from sibling tools by highlighting multi-step agentic reasoning, web search, URL fetching, and custom function tools, which sets it apart from simple chat or search tools.

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

Usage Guidelines4/5

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

The description implies when to use this tool: when multi-step reasoning or tool use is needed, as opposed to simpler chat/search tools. It also provides a clear usage requirement that either model, models, or preset must be provided. However, it does not explicitly name alternatives or state when NOT to use this tool.

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/itsablabla/perplexity-control-mcp'

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