Skip to main content
Glama
bulatko

vk-mcp-server

vk_wall_create_comment

Add comments to VKontakte wall posts using the VK API. Specify owner ID, post ID, and comment text to engage with social content.

Instructions

Add a comment to a wall post

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owner_idYesWall owner ID
post_idYesPost ID
messageYesComment text

Implementation Reference

  • Tool handler for vk_wall_create_comment - processes the request by calling vk.wallCreateComment with owner_id, post_id, and message parameters
    case 'vk_wall_create_comment':
      result = await vk.wallCreateComment({
        owner_id: args.owner_id,
        post_id: args.post_id,
        message: args.message,
      });
      break;
  • Tool schema definition for vk_wall_create_comment - defines input parameters (owner_id, post_id, message) with required fields and descriptions
      name: 'vk_wall_create_comment',
      description: 'Add a comment to a wall post',
      inputSchema: {
        type: 'object',
        properties: {
          owner_id: { type: 'number', description: 'Wall owner ID' },
          post_id: { type: 'number', description: 'Post ID' },
          message: { type: 'string', description: 'Comment text' },
        },
        required: ['owner_id', 'post_id', 'message'],
      },
    },
  • VKClient method wallCreateComment that makes the actual VK API call to wall.createComment endpoint
    wallCreateComment(params) { return this.call('wall.createComment', params); }
  • src/index.js:330-330 (registration)
    Tool registration - all tools including vk_wall_create_comment are registered with the MCP server via the tools array
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools }));
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the action ('Add a comment') which implies a write/mutation operation, but doesn't disclose any behavioral traits like authentication requirements, rate limits, error conditions, or what happens on success. This is inadequate for a mutation tool with zero annotation coverage.

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?

The description is a single, efficient sentence with zero wasted words. It's appropriately sized for a simple tool and front-loads the core functionality. Every word earns its place.

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?

Given this is a mutation tool (creating a comment) with no annotations and no output schema, the description is incomplete. It doesn't address authentication needs, rate limits, response format, or error handling. The description should provide more context about what this operation entails beyond the basic action.

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 the schema already documents all three parameters (owner_id, post_id, message) with basic descriptions. The description adds no additional parameter semantics beyond what's in the schema. Baseline score of 3 is appropriate when the schema does the heavy lifting.

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 'Add a comment to a wall post' clearly states the action (add) and resource (comment to a wall post). It distinguishes from siblings like vk_wall_get (read) and vk_wall_post (create post), but doesn't explicitly differentiate from other comment-related tools (none present in siblings). The purpose is specific and unambiguous.

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 alternatives is provided. The description doesn't mention prerequisites (e.g., authentication needs), constraints (e.g., rate limits), or when not to use it. It's a basic statement of function with no contextual usage information.

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

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