Skip to main content
Glama
mcp-rest-api-server

mcp-rest-api-server

List projects

list_projects
Read-onlyIdempotent

List Harborline projects one page at a time, using the returned nextCursor as the cursor to fetch the next page.

Instructions

List Harborline projects one page at a time. Pass nextCursor back as cursor for the next page.

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": "list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size from 1 to 100. Defaults to 20.
cursorNoOpaque nextCursor from the previous page. Omit it to start at the first page.

Output Schema

NameRequiredDescriptionDefault
limitYes
hasMoreYes
projectsYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds the pagination loop convention (pass nextCursor back as cursor), which is genuinely useful behavior, but that same fact is already stated in the cursor parameter's schema description, so the added value is modest.

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?

Two short sentences, zero filler, with the pagination instruction front-loaded immediately after the purpose statement. Nothing is repeated or padded.

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?

An output schema exists, so return values need no explanation, and pagination — the main complexity for a two-parameter list tool — is addressed. What is missing is minor: no statement of result ordering or whether the list is workspace-scoped, which affects how an agent interprets the pages.

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 limit's range and default and cursor's opaque/omit-for-first-page semantics both documented in the schema. The description restates the cursor contract without adding format, encoding, or expiry details, 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 names a specific verb and resource ("List Harborline projects") and adds the scoping detail that results are paginated one page at a time. That is enough to distinguish it from get_project, though it never names the sibling explicitly or states that it returns collections rather than single records.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for enumerating projects rather than fetching one. There is no statement about when to prefer it over get_project, no ordering or filter assumptions, and no note on what to do when the result set is empty.

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