# Alegria: Agent-Direct Score C (58.5%)

Sitio: https://www.baralegriarestaurante.com/
Informe: https://directindex.org/r/baralegriarestaurante.com/es
Analizado: 2026-10-14 (Provisional: la prueba de acción y la comprobación de citas en los asistentes aún por hacer; la parte rayada de la barra todavía no se ha medido.)
Alegria está parcialmente visible para agentes.

## Enlaces directos
- Reservar directamente: https://www.baralegriarestaurante.com/reservar-gracia/ (en la propia web del negocio)
- Carta: https://www.baralegriarestaurante.com/nuestra-carta/
- Teléfono: +34932 202 939

## Qué corregir primero
- **Sin datos estructurados para el negocio.** (+14 puntos) Añade JSON-LD de schema.org para el negocio (Restaurant, LocalBusiness or the closest type, with name, address, telephone and openingHoursSpecification, plus servesCuisine and acceptsReservations). Es el bloque que todos los asistentes leen primero; el kit de corrección de abajo lo trae relleno. Guía: https://directindex.org/guides/structured-data-restaurant
- **robots.txt bloquea a GPTBot, ClaudeBot, PerplexityBot, Google-Extended, OAI-SearchBot, ChatGPT-User, Claude-User, Perplexity-User.** (+10 puntos) Son los rastreadores de ChatGPT, Claude, Perplexity y las funciones de IA de Google. Quita las líneas Disallow para ellos, o añade reglas Allow explícitas. Guía: https://directindex.org/guides/robots-txt-for-ai-agents
- **Sin llms.txt.** (sin puntos, pero merece la pena) Opcional hoy, barato de añadir: un archivo de texto corto que describe el negocio para los modelos de lenguaje. Guía: https://directindex.org/guides/llms-txt-for-a-business

## Kit de corrección: Qué pegar

Datos estructurados (JSON-LD). Un bloque en el head de la página, o en el hueco de código personalizado del constructor. Sustituye lo que esté mal.

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Alegria",
  "url": "https://www.baralegriarestaurante.com/",
  "telephone": "+34932 202 939",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Carrer del Torrent de l'Olla 77",
    "postalCode": "08012"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 41.401299,
    "longitude": 2.158147
  },
  "servesCuisine": [
    "mediterranean",
    "tapas"
  ],
  "acceptsReservations": "https://www.baralegriarestaurante.com/reservar-gracia/",
  "hasMenu": "https://www.baralegriarestaurante.com/nuestra-carta/",
  "potentialAction": [
    {
      "@type": "ReserveAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://www.baralegriarestaurante.com/reservar-gracia/",
        "actionPlatform": [
          "http://schema.org/DesktopWebPlatform",
          "http://schema.org/MobileWebPlatform"
        ]
      },
      "result": {
        "@type": "Reservation",
        "name": "Reservation"
      }
    }
  ]
}
</script>
```

robots.txt. Añade estas líneas a /robots.txt y borra cualquier regla Disallow que nombre a estos rastreadores.

```
# Let AI assistants read the site: they send people to you; a marketplace keeps them.
# Remove any Disallow lines for these names elsewhere in this file.
User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-User
Allow: /

User-agent: Perplexity-User
Allow: /
```

llms.txt. Guárdalo como /llms.txt en la raíz de la web.

```
# Alegria

> restaurant (mediterranean, tapas) in Carrer del Torrent de l'Olla 77 08012, Barcelona. Phone +34932 202 939.

## Book or order directly

- Book: https://www.baralegriarestaurante.com/reservar-gracia/ (on the business's own site)
- Menu: https://www.baralegriarestaurante.com/nuestra-carta/

## About

- Website: https://www.baralegriarestaurante.com/
- This file follows llms.txt (https://llmstxt.org): a short plain-text description for language models.
```

## Ya está bien
- **Los rastreadores de IA reciben la página.** GPTBot, ClaudeBot y PerplexityBot recibieron una respuesta normal.
- **Carta o lista de precios es una página HTML.** Los agentes pueden leer platos y precios directamente.
- **Reservas en tu propia web.** Los agentes pueden reservar sin un marketplace en medio.

## Dónde está
407 de 751 en Barcelona. Entre el 54% mejor de las webs analizadas en este índice.

| Qué hace el 10% mejor del índice | 10% mejor | Esta web |
|---|---|---|
| Aceptan reservas o pedidos en su propio dominio | 99% | sí |
| Publican la carta o la lista de precios en HTML | 92% | sí |
| Dejan entrar a los rastreadores de IA (sin bloqueo en el borde ni en robots.txt) | 92% | no |
| Datos estructurados con dirección, teléfono y horario | 61% | no |
| Tienen un llms.txt | 33% | no |

Sitios más cercanos con una carta parecida: Cadaqués (D, 111 m, https://directindex.org/r/cadaquesrestaurant.com/es); El Salero (D, 201 m, https://directindex.org/r/restaurantesalero.com/es); Gut (B, 336 m, https://directindex.org/r/restaurantgut.com/es); Croq & Roll Croqueteria (D, 402 m, https://directindex.org/r/croqandroll.com/es); La Kabane (B, 425 m, https://directindex.org/r/lakabane.es/es); Bar Mut (B, 516 m, https://directindex.org/r/barmut.com/es); Platerina (D, 534 m, https://directindex.org/r/laplaterinabcn.com/es); Maranpau (A, 660 m, https://directindex.org/r/maranpau.com/es); Can Kenji (F, 690 m, https://directindex.org/r/cankenji.com/es); Restaurant Roma (C, 818 m, https://directindex.org/r/restaurantroma.es/es).

## Qué responden los asistentes
Aún no preguntado. A los asistentes se les pregunta por los negocios mejor clasificados de cada índice y por cada negocio reclamado en cuanto se reclama; reclama esta página para entrar.

Frente a sus pares: Webs hechas con WordPress 58% (29% A o B, 36926 webs); Esta web 58.5%.

Ver lo que lee un agente de IA en esta web: https://directindex.org/r/baralegriarestaurante.com/agent-view

## Businesses like Alegria in Barcelona

| Group | Sites | Avg score | A or B | This site |
|---|---|---|---|---|
| Same kind in Barcelona | 751 | 57% | 38% | 58.5% |
| Built with WordPress in Barcelona | 384 | 68% | 51% | 58.5% |

The best of Built with WordPress in Barcelona: Barceloneta (A 100%, https://directindex.org/r/restaurantbarceloneta.com/es); Europa Café (A 100%, https://directindex.org/r/europacaferestaurant.com/es); Gusto (A 100%, https://directindex.org/r/gustoristorantepizzeria.com/es); Guzzo (A 100%, https://directindex.org/r/guzzobcn.es/es); LomoAlto (A 100%, https://directindex.org/r/lomoalto.barcelona/es).

With the two fixes above (Sin datos estructurados para el negocio; robots.txt bloquea a GPTBot, ClaudeBot, PerplexityBot, Google-Extended, OAI-SearchBot, ChatGPT-User, Claude-User, Perplexity-User) the score would be about 95.4%: 26th of 751 in Barcelona, up from 407th.

## The direct record
What agents get for Alegria, as JSON: https://directindex.org/api/direct/baralegriarestaurante.com
- Book: https://www.baralegriarestaurante.com/reservar-gracia/ (own site; found by the scan of 2026-10-14, not yet tested)
- Order: none on record
- Menu: https://www.baralegriarestaurante.com/nuestra-carta/ (html_page; from the scan)
- Hours: none on record
- Phone: +34932 202 939
- Stable links that count: https://directindex.org/go/baralegriarestaurante.com/book, https://directindex.org/go/baralegriarestaurante.com/menu

## Can an agent transact?
Measured, not scored (the score stays at spec v1.0).
- UCP profile (/.well-known/ucp, Google and Shopify's Universal Commerce Protocol): not measured
- ACP discovery document (/.well-known/acp.json, OpenAI and Stripe's Agentic Commerce Protocol): not measured
- MCP server card (/.well-known/mcp/server-card.json): no
- Ordering vendor that takes agent orders (Square, Toast, or a vendor whose terms allow agents): not measured

Not measured at this scan; the next scan measures it.

## Desglose de la puntuación
| Componente | Puntos | Disponibles |
|---|---|---|
| Alcanzable | 15 | 25 |
| Legible | 8 | 25 |
| Accionable | 15 | 15 (la prueba de acción: pendiente) |
| Citado | 0 | 0 (la comprobación de citas en los asistentes: pendiente) |

## Preparación para agentes (Cloudflare)
Nivel 1 de 5, Basic Web Presence. Informe de Cloudflare: https://isitagentready.com/baralegriarestaurante.com
- Link headers on the homepage: no (cómo: https://isitagentready.com/.well-known/agent-skills/link-headers/SKILL.md)
- sitemap.xml: sí
- AI bot rules in robots.txt: sí
- Content Signals in robots.txt: no (cómo: https://isitagentready.com/.well-known/agent-skills/content-signals/SKILL.md)
- Markdown on Accept: text/markdown: no (cómo: https://isitagentready.com/.well-known/agent-skills/markdown-negotiation/SKILL.md)
- llms.txt: no (cómo: https://isitagentready.com/.well-known/agent-skills/llms-txt/SKILL.md)
- API catalog (RFC 9727): no (cómo: https://isitagentready.com/.well-known/agent-skills/api-catalog/SKILL.md)
- MCP server card: no (cómo: https://isitagentready.com/.well-known/agent-skills/mcp-server-card/SKILL.md)
- A2A agent card: no (cómo: https://isitagentready.com/.well-known/agent-skills/a2a-agent-card/SKILL.md)
- Agent Skills index: no (cómo: https://isitagentready.com/.well-known/agent-skills/agent-skills/SKILL.md)
- OAuth or OIDC discovery: no (cómo: https://isitagentready.com/.well-known/agent-skills/oauth-discovery/SKILL.md)
- OAuth protected resource metadata: no (cómo: https://isitagentready.com/.well-known/agent-skills/oauth-protected-resource/SKILL.md)
- auth.md: no (cómo: https://isitagentready.com/.well-known/agent-skills/auth-md/SKILL.md)
- Web Bot Auth key directory: no (cómo: https://isitagentready.com/.well-known/agent-skills/web-bot-auth/SKILL.md)
- ARD capability manifest: no (cómo: https://isitagentready.com/.well-known/agent-skills/ard/SKILL.md)
- DNS-AID records: sí
- WebMCP tools on the page: no (cómo: https://isitagentready.com/.well-known/agent-skills/webmcp/SKILL.md)
- JSON-LD para el negocio: no

Informe a fondo: https://directindex.org/r/baralegriarestaurante.com/deep. Diez preguntas tal como la gente las hace, la respuesta completa de cada asistente, los ocho sitios parecidos más cercanos, el plan de correcciones y un PDF: 19 EUR, pago único.
Metodología: https://directindex.org/methodology · Analizar de nuevo: https://directindex.org/scan?url=baralegriarestaurante.com&force=1
