list_ietf_docs_number
Retrieve the total count of IETF RFC documents available in the RFC Editor Index using this tool, enabling efficient tracking and access.
Instructions
Get the total number of IETF RFC documents available in RFC editor Index
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp_server_ietf/server.py:58-66 (handler)Handler function for the 'list_ietf_docs_number' tool. It retrieves the total count of IETF RFC documents from the server context and returns it. Registered via @mcp.tool() decorator.@mcp.tool() def list_ietf_docs_number(ctx: Context) -> int: """ Get the total number of IETF RFC documents available in RFC editor Index """ server_ctx = ctx.request_context.lifespan_context logger.debug(f"doc count:{server_ctx.docs_count}") return server_ctx.docs_count