Skip to main content
Glama
ssolis-ti

CrewAI MCP Orchestrator

crewai_edit_crew_py

Modify a CrewAI agent's configuration by adding tools, LLM models, or custom parameters directly in the crew.py file.

Instructions

Edit the crew.py file to add tools, LLM, or other parameters to a specific agent.

This tool modifies the agent method in crew.py to include custom tools, LLM configuration, or other agent parameters that can't be set via YAML alone.

Args: project_name: Name of the project agent_name: Name of the agent method to modify (e.g., 'researcher') tools: List of tool import strings (e.g., ['SerperDevTool()', 'WebsiteSearchTool()']) llm: LLM model string (e.g., 'gpt-4o', 'claude-3-5-sonnet') function_calling_llm: Function calling LLM model string other_params: Additional parameters to pass to the Agent constructor

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_nameYes
agent_nameYes
toolsNo
llmNo
function_calling_llmNo
other_paramsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It states the tool modifies the agent method in crew.py, but lacks details on whether changes are destructive, reversible, require project existence, or affect other agents. The description is thin on safety and side effects.

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 concise with a clear first sentence stating purpose, a brief context sentence, and a structured Args list. No redundant information. It prioritizes the main purpose and parameter semantics efficiently.

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 6 parameters (2 required), nested objects, and an output schema, the description covers all parameter meanings but omits prerequisites (e.g., existing project with crew.py) and file-operation behavior. The output schema exists, so return value details are not needed, but behavioral completeness could be improved.

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?

With 0% schema description coverage, the description's Args section adds meaningful explanations: e.g., 'tools: List of tool import strings', 'llm: LLM model string', 'other_params: Additional parameters'. This provides context beyond parameter titles, though examples would improve clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool edits crew.py to add tools, LLM, or other parameters to an agent. It uses specific verbs and resource, distinguishing from sibling tools like crewai_define_agent which likely define agents via other means.

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

Usage Guidelines3/5

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

The description implies usage when YAML configuration is insufficient ('that can't be set via YAML alone'), but does not explicitly state when to use or not use this tool versus alternatives like editing the file manually. No exclusion criteria or alternative tool mentions.

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/ssolis-ti/crewai-mcp-hq'

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