Skip to main content
Glama
delano
by delano

get_server_response

Retrieve a specific server response from a Postman mock server by providing the mock server ID and the server response ID.

Instructions

Get a specific server response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mockIdYesThe mock server ID
serverResponseIdYesThe server response ID

Implementation Reference

  • The actual handler function for 'get_server_response'. Calls the Postman API GET /mocks/{mockId}/server-responses/{serverResponseId} and returns the response data.
    /**
     * Get a specific server response
     * @param args.mockId Mock server ID
     * @param args.serverResponseId Server response ID
     */
    async getServerResponse(args: any): Promise<ToolCallResponse> {
      const response = await this.client.get(
        `/mocks/${args.mockId}/server-responses/${args.serverResponseId}`
      );
      return this.createResponse(response.data);
    }
  • Routes the 'get_server_response' tool name to the getServerResponse handler in the switch statement.
    case 'get_server_response':
      return await this.getServerResponse(args);
  • Input schema definition for 'get_server_response' tool. Requires mockId (string) and serverResponseId (string).
    {
      name: 'get_server_response',
      description: 'Get a specific server response',
      inputSchema: {
        type: 'object',
        required: ['mockId', 'serverResponseId'],
        properties: {
          mockId: {
            type: 'string',
            description: 'The mock server ID'
          },
          serverResponseId: {
            type: 'string',
            description: 'The server response ID'
          }
        }
      }
    },
Behavior2/5

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

The description only states 'Get', implying a read operation, but provides no additional behavioral context such as idempotency, side effects, permissions, or error handling. With no annotations, 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.

Conciseness5/5

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

The description is a single sentence with no unnecessary words. It is appropriately concise for a simple getter tool.

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?

The tool has low complexity with two parameters and no output schema. The description is minimally adequate but could benefit from mentioning what the response contains or example usage.

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 coverage is 100% with both parameters described in the schema. The description does not add extra meaning beyond the schema, so the baseline score of 3 is appropriate.

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 identifies the action (Get) and resource (server response), which distinguishes it from sibling tools like create_server_response or delete_server_response. However, it lacks specificity about what a 'server response' is in this context, which could be improved.

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?

The description provides no guidance on when to use this tool versus alternatives. With many sibling getter tools, differentiation is missing, and no context about prerequisites or alternatives is given.

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

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