Skip to main content
Glama

candidate_create

Add a new candidate to the Ashby hiring pipeline by providing their name, contact details, and professional profiles for application tracking.

Instructions

Create a new candidate in Ashby.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFull name of the candidate
emailNoPrimary email address
phoneNumberNoPhone number
linkedInUrlNoLinkedIn profile URL
githubUrlNoGitHub profile URL
sourceIdNoSource ID for attribution

Implementation Reference

  • The generic tool handler that dispatches 'candidate_create' to the appropriate Ashby API endpoint using the TOOL_ENDPOINT_MAP.
    @server.call_tool()
    async def handle_call_tool(name: str, arguments: dict[str, Any]) -> list[types.TextContent]:
        """Route tool calls to the correct Ashby endpoint, passing arguments directly."""
        endpoint = TOOL_ENDPOINT_MAP.get(name)
        if not endpoint:
            return [types.TextContent(type="text", text=f"Unknown tool: {name}")]
    
        try:
            # Pass arguments straight through -- tool schemas already use Ashby's
            # camelCase param names so no translation is needed.
            response = ashby.post(endpoint, data=arguments if arguments else None)
            return [types.TextContent(type="text", text=json.dumps(response, indent=2))]
        except requests.exceptions.HTTPError as e:
            error_body = ""
            if e.response is not None:
                try:
                    error_body = e.response.text
                except Exception:
                    pass
            return [
                types.TextContent(
                    type="text",
                    text=f"Ashby API error on {endpoint}: {e}\n{error_body}",
                )
            ]
        except Exception as e:
            return [types.TextContent(type="text", text=f"Error calling {endpoint}: {e}")]
  • The tool schema definition for 'candidate_create'.
    types.Tool(
        name="candidate_create",
        description="Create a new candidate in Ashby.",
        inputSchema={
            "type": "object",
            "properties": {
                "name": {"type": "string", "description": "Full name of the candidate"},
                "email": {"type": "string", "description": "Primary email address"},
                "phoneNumber": {"type": "string", "description": "Phone number"},
                "linkedInUrl": {"type": "string", "description": "LinkedIn profile URL"},
                "githubUrl": {"type": "string", "description": "GitHub profile URL"},
                "sourceId": {"type": "string", "description": "Source ID for attribution"},
            },
            "required": ["name"],
        },
    ),
  • Registration of the 'candidate_create' tool mapping it to the '/candidate.create' API endpoint.
    "candidate_create": "/candidate.create",
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. While 'Create' implies a write/mutation operation, the description doesn't address permission requirements, whether this operation is idempotent, what happens on duplicate entries, error conditions, or what the response contains. For a creation tool with zero annotation coverage, this represents significant gaps in behavioral transparency.

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?

The description is a single, efficient sentence that states the core purpose without unnecessary words. It's appropriately front-loaded with the essential information and contains zero wasted verbiage. This represents optimal conciseness for a basic tool description.

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

Completeness2/5

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

For a creation tool with no annotations and no output schema, the description is insufficiently complete. It doesn't address what happens after creation (return values, success indicators), error handling, or system behavior. Given the complexity of creating a candidate record and the lack of structured metadata, the description should provide more operational context to be truly helpful.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all 6 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema. This meets the baseline expectation when schema coverage is complete, but doesn't provide any extra context about parameter relationships, constraints, or usage patterns.

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 action ('Create') and resource ('new candidate in Ashby'), making the purpose immediately understandable. However, it doesn't differentiate itself from sibling tools like 'application_create' or 'candidate_add_tag', which would require more specific context about what distinguishes candidate creation from other candidate-related operations.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With sibling tools like 'candidate_add_tag', 'candidate_create_note', and 'application_create', there's no indication of when candidate creation is appropriate versus adding notes or creating applications. No prerequisites, exclusions, or contextual recommendations are mentioned.

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/PlenishAI/mcp-ashby'

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