set_toc
Set the table of contents of an RFC document by supplying the document object and a TOC string.
Instructions
Set the table of contents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | RFCDocument | |
| toc | Yes | Table of contents |
Set the table of contents of an RFC document by supplying the document object and a TOC string.
Set the table of contents
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | RFCDocument | |
| toc | Yes | Table of contents |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral traits. It only states 'Set' (suggesting mutation) but does not explain side effects, replacement behavior, permissions, or response format. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise (one short sentence), but it sacrifices helpful details. It is not front-loaded with critical information beyond the basic action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's two parameters and lack of output schema, the description should explain the effect on the RFCDocument, any preconditions, and the result. It fails to provide a complete picture.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds no extra meaning to the parameters; it does not specify the format or valid values for the 'toc' string.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Set') and the resource ('table of contents'), distinguishing it from sibling tools like 'get_toc'. However, it does not explicitly mention the document context, which is only implied by the input schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives such as 'add_section' or 'update_section'. The description lacks context for appropriate usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-rfc-editor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server