Skip to main content
Glama

Site details

get_site
Read-only

Show a site with its files and collections.

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": {
      "site": "<site>"
    },
    "name": "get_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug (e.g. "kopitiam-muar") or id

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
slugYes
filesYes
reactNo
titleYes
statusYes
settingsNo
your_roleNo
paid_untilNo
collectionsYes
project_memoryNo
preview_commentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "collections": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "records": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "files": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "content_type": {
      +            "type": "string"
      +          },
      +          "path": {
      +            "type": "string"
      +          },
      +          "size": {
      +            "type": "number"
      +          },
      +          "updated_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "path"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "paid_until": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "preview_comments": {},
      +    "project_memory": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "notes": {
      +          "type": "number"
      +        },
      +        "open_todos": {
      +          "type": "number"
      +        },
      +        "read_with": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "open_todos",
      +        "notes"
      +      ],
      +      "type": "object"
      +    },
      +    "react": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "mode": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "settings": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {},
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "your_role": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "slug",
      +    "title",
      +    "status",
      +    "url",
      +    "files",
      +    "collections"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds that files and collections come bundled with the site, hinting at the response payload, but says nothing about permissions, size, or how the nested lists are limited.

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?

One short sentence, front-loaded with the verb and resource, with no filler. It is terse rather than bloated, though the brevity borders on under-specification.

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?

An output schema exists, so return-value explanation is not required, and annotations cover safety. Still, for a tool whose payload expands to files and collections, the description gives no sense of scope or how those sub-resources are keyed, leaving modest gaps.

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 single required site parameter is documented with a slug example, so the schema carries the parameter semantics. The description adds no detail about whether an id and a slug behave differently, so baseline 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?

"Show a site with its files and collections" names a specific verb (show) and resource (site) and states the scope of the payload. It does not explicitly distinguish itself from siblings such as get_site_health or check_site, so it stops short of a 5.

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?

The description contains no when-to-use guidance, no exclusions, and no reference to an alternative. An agent has to infer from sibling names that this is the general site-detail fetch rather than the health or existence check.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources