Skip to main content
Glama
rybbit-mcp

rybbit-mcp

by nks-hub

Get Site ID by Domain

rybbit_get_site_id
Read-onlyIdempotent

Look up a site by domain and return its numeric siteId for passing to other Rybbit Analytics tools.

Instructions

Look up a site by domain name. Returns the numeric siteId to pass to the other tools, the same value rybbit_create_site and rybbit_list_sites report.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>"
    },
    "name": "rybbit_get_site_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to search for (e.g. 'example.com'). Partial match supported.

Output Schema

NameRequiredDescriptionDefault
noteNoCaveat about this response, e.g. how many rows were returned and how to get the rest
matchesNoMatching sites
messageNoDiagnostic message when no match
truncatedNoTrue when rows were dropped to keep the response under the size cap

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  2. Changed3 schema fields changedv0.9.0
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Caveat about this response, e.g. how many rows were returned and how to get the rest",
      +  "type": "string"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when rows were dropped to keep the response under the size cap",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changedv0.8.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "matches": {
      +      "description": "Matching sites",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "domain": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "organization": {
      +            "type": "string"
      +          },
      +          "siteId": {
      +            "type": [
      +              "string",
      +              "number"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "siteId",
      +          "domain",
      +          "name",
      +          "organization"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "message": {
      +      "description": "Diagnostic message when no match",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observedv0.5.2

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful cross-tool consistency context by saying the value matches what create_site and list_sites report. However, it does not say what happens when no domain matches, such as an error or empty result, and that behavior is beyond what the 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no wasted words. The core action is front-loaded, and the follow-up sentence explains both the return value and the cross-tool relationship.

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?

With an output schema present and rich annotations, the description does not need to explain return values or safety. It covers the tool's role as an ID resolver and its relationship to sibling tools. The only meaningful gap is the no-match behavior.

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 coverage is 100%, and the domain parameter already documents the format and partial-match support. The description adds no further detail about the domain parameter, such as normalization or matching rules, beyond what the schema states. The baseline of 3 is appropriate when the schema does the work.

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: "Look up a site by domain name." It also distinguishes itself from sibling tools by noting that it reports the same siteId as rybbit_create_site and rybbit_list_sites. It stops short of a direct contrast such as "use this when you have only a domain," but an agent can identify the tool's role without opening the schema.

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

Usage Guidelines4/5

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

The description gives clear usage context by saying the returned siteId is "to pass to the other tools," which tells the agent this is a resolution or prerequisite step. It also implies an alternative path by noting create_site and list_sites report the same value. It does not explicitly state when not to use it, such as when the ID is already known.

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