Skip to main content
Glama

candidate_create_note

Add formatted notes to candidate profiles in Ashby ATS to document interactions, track progress, and maintain hiring records.

Instructions

Add a note to a candidate. Supports HTML formatting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
candidateIdYesThe candidate ID
noteYesNote content (HTML supported)
sendNotificationsNoNotify subscribed users (default false)

Implementation Reference

  • The `handle_call_tool` function serves as the central handler for all tools, including "candidate_create_note". It uses the `TOOL_ENDPOINT_MAP` to route requests to the appropriate Ashby API endpoint.
    @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}")]
  • Definition and input schema for the "candidate_create_note" tool.
        name="candidate_create_note",
        description="Add a note to a candidate. Supports HTML formatting.",
        inputSchema={
            "type": "object",
            "properties": {
                "candidateId": {"type": "string", "description": "The candidate ID"},
                "note": {"type": "string", "description": "Note content (HTML supported)"},
                "sendNotifications": {
                    "type": "boolean",
                    "description": "Notify subscribed users (default false)",
                },
            },
            "required": ["candidateId", "note"],
        },
    ),
  • Entry in the `TOOL_ENDPOINT_MAP` that links the tool name to its corresponding Ashby API endpoint path.
    "candidate_create_note": "/candidate.createNote",
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states 'Add a note' (implying a write/mutation operation) and mentions HTML support, but lacks critical details: whether this requires specific permissions, if notes are editable/deletable, rate limits, or what happens on success/failure. For a mutation tool with zero annotation coverage, this is insufficient.

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 extremely concise (one sentence) and front-loaded with the core purpose. Every word earns its place: 'Add a note to a candidate' establishes the action, and 'Supports HTML formatting' adds useful technical detail without redundancy.

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?

Given this is a mutation tool (adding notes) with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., success confirmation, note ID, error details), behavioral constraints, or integration with sibling tools. For a write operation in a candidate management context, more context is needed for effective agent use.

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 three parameters (candidateId, note, sendNotifications) with clear descriptions. The description adds minimal value beyond the schema by noting 'HTML formatting' (implied in the note parameter's schema description) and doesn't provide additional context like format examples or default behavior for sendNotifications. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Add a note') and target resource ('to a candidate'), making the purpose immediately understandable. It also specifies 'Supports HTML formatting' as a key feature. However, it doesn't differentiate from sibling tools like 'candidate_list_notes' or 'candidate_info', which is why it doesn't reach a 5.

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. It doesn't mention prerequisites (e.g., needing an existing candidate), exclusions, or comparisons with related tools like 'candidate_list_notes' (for viewing notes) or 'candidate_add_tag' (for other candidate modifications).

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