Skip to main content
Glama
Fibery MCP GraphQL Server

Fibery MCP GraphQL Server

get_schema_sdl

Retrieve the complete GraphQL schema SDL for a Fibery space, including type definitions, queries, and mutations, to inspect available API operations before validating generated queries.

Instructions

Get the complete GraphQL schema SDL for a Fibery space. This includes all type definitions, queries, mutations, etc. Although you might think the response is truncated, it is not. Please proceed as if it's not truncated. The following is some markdown documentation on how the fibery graphql api works:

The list of entities can be retrieved from the database by using find query which is defined for every database for each space. For example findBugs, findEmployees.

## Filtering
Filters can be applied by providing filtering arguments for find queries.

### String filtering operators
is: String
isNot: String
contains: String
notContains: String
greater: String
greaterOrEquals: String
less: String
lessOrEquals: String
in: [String]
notIn: [String]
isNull: Boolean

### Int filtering operators
is: Int
isNot: Int
greater: Int
greaterOrEquals: Int
less: Int
lessOrEquals: Int
in: [Int]
notIn: [Int]
isNull: Boolean

### Float filtering operators
is: Float
isNot: Float
greater: Float
greaterOrEquals: Float
less: Float
lessOrEquals: Float
in: [Float]
notIn: [Float]
isNull: Boolean

### Boolean filtering operators
is: Boolean
isNull: Boolean

### ID filtering operators
is: ID
isNot: ID
in: [ID]
notIn: [ID]
isNull: Boolean

### Filtering by inner lists
isEmpty: Boolean 
contains: [InnerListDbFilter] // AND statement
containsAny: [InnerListDbFilter] // OR statement 
notContains: [InnerListDbFilter] // AND statement
notContainsAny: [InnerListDbFilter] // OR statement

## Sorting
Use orderBy argument which can be applied for native fields or one-to-one properties.
Example: orderBy: { releaseDate: DESC }

## Rich fields and comments
Rich text fields or comments can be downloaded in four formats: jsonString, text, md, html.

## Paging and limits
By default, find database query returns 100 records.
Use limit and offset arguments to control pagination.
Example: findBugs(limit:3, offset:3)

## Aliases
GraphQL aliases can be used for find query as alternative to OR statement.
Example:
{
  todo: findBugs(state:{name:{is:"To Do"}})
  done: findBugs(state:{name:{is:"Done"}})
}

After using this tool to generate schema, you should always call validate_fibery_graphql to validate your queries.

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": {
      "space_id": "<space_id>"
    },
    "name": "get_schema_sdl"
  }
}

Input Schema

NameRequiredDescriptionDefault
space_idYesThe ID of the space to get the schema for

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?

With no annotations supplied, the description carries the full behavioral burden, and it does disclose one genuinely non-obvious trait: the response looks truncated but is not, so the agent should not paginate or re-request. It says nothing about read-only safety (implied but unstated), permission requirements, payload size, or what happens with an invalid space_id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The first two sentences are well front-loaded and earn their place, but roughly 90% of the text is a generic Fibery GraphQL filtering/sorting/paging manual that is not about invoking this tool at all. That bulk dilutes the actionable instruction and pushes the one important caveat (no truncation) into the middle of reference material.

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?

For a one-parameter, no-output-schema tool, the description covers what is returned (full SDL) and preempts the truncation misreading, which is the main risk. However, without an output schema it never states the return type explicitly (a single SDL string versus a structured object), nor does it explain how the SDL should be consumed before calling validate_fibery_graphql.

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% and the single parameter is documented as "The ID of the space to get the schema for." The description adds no meaning beyond that — it does not say where to obtain a space_id (e.g., via list_spaces_and_types) or what an ID looks like. Baseline 3 applies when the schema already documents every parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource: "Get the complete GraphQL schema SDL for a Fibery space," and clarifies the payload contents ("all type definitions, queries, mutations"). An agent can immediately distinguish this fetch-the-schema tool from the sibling validate_fibery_graphql, which is named later as a follow-up step.

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 definition states a clear workflow: generate the schema with this tool, then "always call validate_fibery_graphql to validate your queries." That routes the agent to the correct next sibling. It does not say when *not* to use it, whether results should be cached per space, or how it relates to list_spaces_and_types for discovering space_id, so it falls short of a full when/when-not specification.

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