Skip to main content
Glama

Flagbearer

Get SDK docs

get_sdk_docs
Read-only

The current Flagbearer SDK docs for a platform (react, react-native, ios, android, browser, node, python, go, java, dotnet, ruby, rust, cpp or php), plus one environment's SDK address and public client key. Call this before writing code that checks a flag, and follow it.

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": {
      "applicationId": "<applicationId>",
      "environment": "<environment>",
      "platform": "<platform>"
    },
    "name": "get_sdk_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYes
environmentYes
applicationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the return-value burden and does disclose that the response includes both docs and credentials (SDK address and public client key). It does not mention response size, truncation, or whether docs are cached/versioned, which keeps it short of a 5.

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?

A single dense sentence plus a short imperative directive. The return payload is front-loaded and nothing is wasted, though the platform list is somewhat redundant with the schema enum.

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 no output schema, the description adequately covers what the tool returns and when to call it. The gaps are unexplained identifiers (applicationId, environment values) and no indication of doc length or how strictly to 'follow' the returned docs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, yet it only names the platform values already enforced by the enum. The 'one environment' phrasing hints at the environment parameter, but applicationId is never explained and no format or source for either identifier is given.

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?

States a specific verb and resource ('current Flagbearer SDK docs for a platform') and names the platform set. It also tells the agent exactly what else comes back: one environment's SDK address and public client key, which distinguishes it from setup-checking siblings like check_sdk_setup.

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?

Gives an explicit trigger: 'Call this before writing code that checks a flag, and follow it.' That is clear when-to-use guidance with a sequencing instruction, but it does not state when not to use it or how it relates to check_sdk_setup or generate_flag_types.

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.