ping
Confirm the Nordic MCP server process is responding. Use at the start of a session to verify server reachability before other calls.
Instructions
Connectivity check that confirms the Nordic MCP server process is responding.
Use this at the start of a session to verify the server is reachable before making other calls. Do not use as a proxy for database health — the server can respond while the Qdrant vector database is temporarily unavailable. To confirm data availability, call search_filings directly.
Returns: A greeting string: "Hello {name}! Nordic MCP server is running."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Arbitrary label included in the response, e.g. 'healthcheck' or 'agent-1' | world |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- mcp_server.py:124-138 (handler)The 'ping' tool handler function registered via @mcp.tool decorator. It accepts an optional 'name' parameter (defaults to 'world'), logs the call, and returns a greeting string confirming the server is running.
@mcp.tool(annotations=ToolAnnotations(readOnlyHint=True)) async def ping(name: Annotated[str, "Arbitrary label included in the response, e.g. 'healthcheck' or 'agent-1'"] = "world") -> str: """Connectivity check that confirms the Nordic MCP server process is responding. Use this at the start of a session to verify the server is reachable before making other calls. Do not use as a proxy for database health — the server can respond while the Qdrant vector database is temporarily unavailable. To confirm data availability, call search_filings directly. Returns: A greeting string: "Hello {name}! Nordic MCP server is running." """ _log.info(f'ping name="{name}"') return f"Hello {name}! Nordic MCP server is running." - mcp_server.py:125-125 (schema)The input parameter schema for the ping tool. It accepts a single optional string parameter 'name' with a description of 'Arbitrary label included in the response, e.g. 'healthcheck' or 'agent-1'', defaulting to 'world'.
async def ping(name: Annotated[str, "Arbitrary label included in the response, e.g. 'healthcheck' or 'agent-1'"] = "world") -> str: - mcp_server.py:124-124 (registration)The tool registration via the FastMCP 'tool' decorator. The 'ping' function is registered as an MCP tool with annotations indicating it is read-only.
@mcp.tool(annotations=ToolAnnotations(readOnlyHint=True)) - mcp_server.py:66-66 (helper)The FastMCP server instance creation which provides the 'mcp.tool' decorator used to register the ping tool.
mcp = FastMCP("nordic-public-data-mcp")