Skip to main content
Glama

Add a section header

add_header

Add a text header that groups the links below it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "add_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
positionNoWhere to add it: "top" (default) or "bottom".top

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already disclose behavior: it is a non-idempotent, non-destructive write in a closed environment. The description adds that the header visually groups the links below it, which is genuine context about the effect. It remains silent on which page or section the header is added to, and on how it interacts with existing blocks.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence, front-loaded with the verb and resource. No waste, though the phrase 'groups the links below it' is slightly ambiguous about what 'below' means in page order.

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

Completeness3/5

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

For a simple two-parameter block-insertion tool with an annotated safety profile and no output schema, the description is near-minimal viable. It still omits the target page context and the required text field's constraints, which an agent must learn from the schema.

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

Parameters2/5

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

Only 50% schema coverage exists, so the description should compensate. It never mentions the required 'text' parameter or its 1–100 character limit, and does not explain how it relates to the schema-documented 'position' enum. The sentence 'groups the links below it' arguably conflicts with position='bottom', but this is not clarified.

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 uses a specific verb and resource: 'Add a text header', and adds the grouping role. It does not distinguish itself from siblings that also add page elements (add_embed, add_link, add_social), so it lands short of 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?

Nothing says when to choose this tool over add_link, add_embed, or update_block, and there are no stated prerequisites, such as whether a page must already exist. The only hint is the phrase 'groups the links below it', which implies the intended layout context, but not an explicit use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources