---
id: ListAuthorsGrpc
name: List authors over gRPC
version: 1.0.0
badges:
  - content: Catalog Management
    backgroundColor: green
    textColor: green
summary: Returns all Catalog authors through the book.v1 gRPC contract.
owners:
  - catalog-experience-team
schemaPath: schema.proto
sidebar:
  badge: "gRPC"
---

`ListAuthorsGrpc` invokes the internal `book.v1.BookGrpcService/ListAuthors` gRPC unary RPC on [[service|catalog-api]] to return all registered catalog authors without pagination. [[service|mcp-server]] calls this RPC to power its `list_authors` tool.

## Overview

| Property                           | Value                                                                                 |
| :--------------------------------- | :------------------------------------------------------------------------------------ |
| **Bounded Context**                | Catalog                                                                               |
| **Owner Service**                  | [[service\|catalog-api]]                                                              |
| **Protocol / Format**              | gRPC unary RPC (`book.v1.BookGrpcService/ListAuthors`), Protobuf `edition = "2023"`   |
| **Gateway Endpoint**               | Internal gRPC RPC `book.v1.BookGrpcService/ListAuthors` (not exposed via API Gateway) |
| **Authentication & Authorization** | Internal service-to-service anonymous read                                            |
| **Idempotency / Concurrency**      | Read-only and naturally idempotent                                                    |
| **Rate Limit / Caching**           | Backed by PostgreSQL and cached in L1 + Redis L2                                      |
| **Contract Version**               | `1.0.0`                                                                               |

## Request & Response Contract

### Request Message (`ListAuthorsRequest`)

Empty Protobuf message with no fields.

### Success Response (`ListAuthorsResponse`)

| Name             | Type              | Required | Constraints                    | Description                                          |
| :--------------- | :---------------- | :------- | :----------------------------- | :--------------------------------------------------- |
| `authors`        | `AuthorItem[]`    | Yes      | Tag `1` (`repeated`)           | All catalog authors (empty collection if none exist) |
| `authors[].id`   | `string` (`uuid`) | Yes      | Tag `1`                        | Author UUID                                          |
| `authors[].name` | `string`          | Yes      | Tag `2` (empty string if null) | Author display name                                  |

## Behavior & Side Effects

- **Read-through caching:** Serves the author directory from L1/Redis L2 cache, shared with [[query|ListAuthors]].
- **No state mutation:** Pure read RPC with no database writes or integration events.

## Error Responses

| Status / Code        | Condition                  | Client Recovery Action                      |
| :------------------- | :------------------------- | :------------------------------------------ |
| `Unavailable` (`14`) | Catalog API is unreachable | Retry within the budgeted resilience policy |

## Related Documentation

- [[service|catalog-api]] — Service overview, persistence, and gRPC services.
- [[service|mcp-server]] — Primary caller exposing the `list_authors` MCP tool.
- [[entity|author]] — Author entity model.
- [[query|ListAuthors]] — Public HTTP endpoint (`GET /catalog/api/v1/authors`).

<NodeGraph />

<SchemaViewer
	file="schema.proto"
	title="List authors over gRPC schema"
	maxHeight="500"
	search="true"
/>


 ## Raw Schema:schema.proto

edition = "2023";

package book.v1;

service BookGrpcService {
  rpc ListAuthors (ListAuthorsRequest) returns (ListAuthorsResponse);
}

message ListAuthorsRequest {}

message ListAuthorsResponse {
  repeated AuthorItem authors = 1;
}

message AuthorItem {
  string id = 1;
  string name = 2;
}
