Skip to main content
Glama
zbkm

mmnt-mcp-server

by zbkm

mmnt_cache

Retrieve a cached webpage from Mamont search engine using a unique cache ID, with an option to return only text content.

Instructions

Extract page from Mamont cache

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesunique cache id
onlyTextYesShould the result be text only (no html)

Implementation Reference

  • The main handler function 'extractCache' that fetches a page from Mamont cache by ID, decodes it from Windows-1251, and optionally extracts text-only content via cheerio.
    export async function extractCache(id: string, onlyText: boolean = true): Promise<string> {
  • CacheParams schema defining input validation for the 'mmnt_cache' tool: 'id' (string) and 'onlyText' (boolean).
    export const CacheParams = {
        id: z.string({description: "unique cache id"}),
        onlyText: z.boolean({description: "Should the result be text only (no html)"})
    };
  • src/index.ts:27-37 (registration)
    Registration of the 'mmnt_cache' tool via server.tool(), connecting the schema (CacheParams) to the handler (extractCache).
    server.tool(
        "mmnt_cache",
        "Extract page from Mamont cache",
        CacheParams,
        async ({id, onlyText}) => ({
            content: [{
                type: "text",
                text: JSON.stringify(await extractCache(id, onlyText))
            }]
        })
    );
Behavior2/5

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

No annotations provided, and the description is too brief to convey behavioral traits such as error handling, idempotency, or side effects. The agent gains little insight beyond the name.

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, no fluff. Could be slightly expanded with key details without losing conciseness.

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

Completeness2/5

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

Despite simple parameters, the tool lacks context on return value, error conditions, or how 'onlyText' affects output. Incomplete for an agent to use reliably.

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?

The input schema already fully describes the two parameters with descriptions. The tool description adds no extra meaning beyond the schema, so baseline score applies.

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 clearly states the action 'extract page' and the resource 'Mamont cache'. However, it does not differentiate from the sibling tool 'mmnt_search', which likely serves a different purpose.

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 use this tool versus the alternative 'mmnt_search'. No context on prerequisites or typical use cases.

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

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