Skip to main content
Glama
mcp-server-check

mcp-server-check

Official

Run Tool

run_tool
Destructive

Execute a named Check Payroll API tool with arguments after finding its schema via search_tools; failed or oversized calls return structured errors and alternatives.

Instructions

Execute an API tool by name with the given arguments.

Use search_tools first to find the tool name and its parameter schema. A failed call returns a tool error whose message is a JSON object with "error" and, for Check API failures, "status_code" and "detail". A report that times out or is too large also lists "alternatives" to call instead and "hints".

tool_name: The exact tool name (e.g. "list_companies", "get_employee"). arguments: Tool arguments as a JSON string or dict (e.g. '{"company_id": "com_xxx"}' or {"company_id": "com_xxx"}).

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": {
      "tool_name": "<tool_name>"
    },
    "name": "run_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
tool_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • removedInput schema / properties / confirm
      Removed value: -{
      -  "default": false,
      -  "type": "boolean"
      -}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description needn't restate mutation risk. It adds genuine value beyond that by specifying the error contract (a JSON error object with 'error', plus 'status_code' and 'detail' for Check API failures) and the timeout/oversized-report shape with 'alternatives' and 'hints'. It stops short of discussing auth requirements or how the target tool's own side effects are surfaced.

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?

Front-loaded with the core action and the search_tools prerequisite, then error behavior, then parameter notes. Every sentence carries information, though the error-shape sentence is dense and could be split for scanability.

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

Completeness4/5

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

For a two-parameter dispatcher with no output schema, the definition covers invocation, prerequisite discovery, and the failure contract. The only meaningful gap is what a successful call returns, which is left to the invoked tool's own definition.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry parameter meaning, and it does: tool_name is the exact name with concrete examples, and arguments accepts either a JSON string or a dict with a worked example. That directly resolves the anyOf ambiguity an agent would otherwise have to guess at.

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?

States a specific verb and object: execute an API tool by name with arguments. It also makes the meta-tool nature explicit (it dispatches to other tools) and names the sibling that supplies tool names, so an agent can distinguish it from search_tools without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit routing rule: use search_tools first to discover the tool name and its parameter schema, then call this tool. It also describes the fallback path when a call fails or a report times out, including that 'alternatives' should be called instead, which is directly actionable.

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

Deploy Server

Other Tools