List saved queries

Lists the saved queries in HR Admin > Queries.

MCP tool peoplehr_read → list_queries

read

Returns the name, category and description of each saved query you can open. It needs an HR Admin account. Queries are built in PeopleHR; this tool does not create or edit them.

Parameters

No parameters.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "peoplehr_read",
    "arguments": {
      "operation": "list_queries",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "queries": [
      {
        "name": "Probation ending soon",
        "category": "Employment",
        "description": "Probation end date in the next 28 days"
      },
      {
        "name": "Sickness this quarter",
        "category": "Absence",
        "description": "Sick days by employee"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.