Skip to main content
Glama
lindoai

mcp-lindoai

Official

Get Blog HTML

get_blog_html
Read-only

Fetch the complete HTML content of any blog post by providing the website and blog post IDs.

Instructions

Get the HTML content of a blog post.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
website_idYesThe website ID
blog_idYesThe blog post ID

Implementation Reference

  • Registration of the 'get_blog_html' tool using server.registerTool().
    server.registerTool(
      "get_blog_html",
      {
        title: "Get Blog HTML",
        description: "Get the HTML content of a blog post.",
        inputSchema: {
        website_id: z.string().describe("The website ID"),
        blog_id: z.string().describe("The blog post ID"),
      },
        annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: false },
      },
      async ({ website_id, blog_id }) => {
        const data = await apiCall(`/v1/workspace/website/${website_id}/blogs/${blog_id}/html`, "GET");
        return { content: [{ type: "text", text: JSON.stringify(data?.result ?? data, null, 2) }] };
      }
    );
  • Input schema definition with website_id and blog_id parameters using Zod.
      inputSchema: {
      website_id: z.string().describe("The website ID"),
      blog_id: z.string().describe("The blog post ID"),
    },
  • Handler function that calls the API endpoint /v1/workspace/website/{website_id}/blogs/{blog_id}/html via GET and returns the HTML content.
    async ({ website_id, blog_id }) => {
      const data = await apiCall(`/v1/workspace/website/${website_id}/blogs/${blog_id}/html`, "GET");
      return { content: [{ type: "text", text: JSON.stringify(data?.result ?? data, null, 2) }] };
    }
Behavior3/5

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

Annotations already provide readOnlyHint=true and destructiveHint=false, so safety is clear. The description does not add any additional behavioral context such as authentication needs or response size. Adequate given annotations but no extra value.

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?

Single sentence that is efficient and front-loaded, with no unnecessary words.

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?

Basic tool with two well-described parameters. However, no output schema exists and the description does not clarify what the returned HTML contains (e.g., full page or excerpt). Additional context would improve usability.

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 parameters are already documented. The description adds no further meaning to either parameter. Baseline score is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'HTML content of a blog post'. The name and title align, and it distinguishes from siblings like 'get_blog' (likely metadata) and 'get_page_html' (different resource type).

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?

No guidance on when to choose this tool over siblings such as 'get_blog' or 'get_page_html'. Does not specify context or exclusions.

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/lindoai/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server