Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

get_roles

Read-only

List staff roles in Ghost CMS with pagination, sorting, and field selection to inspect role assignments or build admin reports.

Instructions

List staff roles. [GET /admin/roles/]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
limitNoRecords per page (Ghost default 15, maximum 100).
orderNoSort order, for example published_at desc.
fieldsNoComma-separated list of fields to return, for example id,title,slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds only the raw endpoint path "[GET /admin/roles/]", which hints at an admin API surface but discloses no pagination behavior, result volume, or permission requirements beyond what the schema and annotations provide.

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?

Two short fragments with the purpose front-loaded and zero filler. The endpoint bracket is marginal but not wasteful; nothing is buried or repeated.

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?

For a zero-required-parameter, read-only list tool with fully documented parameters, the definition is minimally adequate. It does not state what a role record contains or that results are paginated, but with no output schema and high schema coverage these gaps are small.

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%, with page, limit, order, and fields each documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 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 gives a specific verb and resource: "List staff roles." That is enough to distinguish it from sibling list tools such as get_users or get_tiers, which target different resources. It stops short of a 5 because it does not explicitly contrast itself with any sibling.

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?

There is no guidance on when to call this tool versus alternatives, no prerequisites, and no exclusions. An agent must infer from the name alone that this is the endpoint for enumerating roles, and nothing says how it relates to get_user or role assignment flows.

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