Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

Get block schema

get_block_schema
Read-only

Return a block type's fields or inputSchema, params, sampleResult, connectionInfo/connections, serviceConfig and guide. type: a blockType from list_block_types, or an extension method id from search_extensions / list_extension_methods; not an agentTools id or a knowledge base. guide says how to configure this block; expression syntax is in the readme (Expressions). Its fields/inputSchema and guide are what add_block / configure_block need for that type. type may be an array: an invalid type comes back as { type, error } in its position, the others resolve normally. operationId: single type only (rejected with an array); returns only { type, blockType, hasResult, operationDetail }. For a built-in block, inputSchema describes every field (fields is omitted); an expression field is { $ref: "#/$defs/Expression" } with an optional resultType, the expected value type. detail: "full" returns fields and the expanded inputSchema.

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": {
      "workspaceId": "<workspaceId>",
      "type": "<type>"
    },
    "name": "get_block_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
detailNo
operationIdNo
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries real additional weight and delivers: array handling returns { type, error } per position, operationId is rejected with an array and returns a restricted shape, and detail="full" expands fields plus inputSchema. These are non-obvious behaviors an agent would otherwise discover only by failure.

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

Conciseness3/5

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

Information density is high and the return contents are front-loaded, but the whole definition is a single semicolon-delimited run-on paragraph that mixes return-value documentation, parameter constraints, expression syntax references and error semantics. It is efficient in length but poor in scannability.

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?

For a four-parameter tool with no output schema and minimal annotations, the description covers return shapes, error cases, the compact/full distinction and downstream consumers (add_block/configure_block), which is substantial. Missing only an explanation of workspaceId and any note on output size or pagination for array types.

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

Parameters4/5

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

With 0% schema description coverage the description must compensate, and it does for three of four parameters: type (string or array, valid sources, per-element error behavior), operationId (single type only, narrow return shape), and detail (full vs. implicit compact). workspaceId is never explained, which is the one remaining gap.

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: returns a block type's fields/inputSchema, params, sampleResult, connectionInfo/connections, serviceConfig and guide. It also draws clear boundaries against siblings by naming list_block_types, search_extensions and list_extension_methods as id sources and explicitly excluding agentTools ids and knowledge bases.

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

Usage Guidelines5/5

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

Gives concrete when-to-use guidance ("Its fields/inputSchema and guide are what add_block / configure_block need for that type") and when-not guidance (not an agentTools id, not a knowledge base). It also tells the agent where to obtain valid type values, which is the main routing decision for this tool.

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