Skip to main content
Glama
MCP Velocity GraphQL Server

MCP Velocity GraphQL Server

by mrchris2000

get_workflows_for_tenant

Retrieve all workflows (value streams) for a tenant to inspect and manage tenant workflow data; if no tenant ID is supplied, the configured tenant is used.

Instructions

Get all workflows (value streams) for a tenant

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_workflows_for_tenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
tenantIdNoTenant ID (uses configured tenant if not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. The word "all" hints that no filtering or pagination applies, but nothing is said about read-only semantics, permission or auth requirements on the tenant, what happens with the configured tenant fallback, or whether archived workflows are included.

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?

A single front-loaded sentence with no filler; the resource and the tenant scope appear immediately. It is efficient, though its brevity contributes to the missing usage and behavioral detail rather than balancing it.

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 simple single-parameter read tool with no output schema, the description covers what the tool returns at a high level (all workflows for a tenant). It stops short on tenant-resolution behavior and result characteristics, which matters given there are no annotations to fill those 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 schema already explains that tenantId falls back to the configured tenant, so the description adds nothing beyond "for a tenant." With the schema doing the heavy lifting, the baseline 3 is appropriate.

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 pairs a specific verb ("Get") with a specific resource ("workflows") and adds the synonym "(value streams)" so an agent can map domain terminology, plus the scope "for a tenant" separates it from the criteria-based sibling get_applications_by_criteria. It is clear but does not explicitly contrast itself with the other get_*_by_tenant siblings, keeping it 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?

There is no statement of when to use this versus alternatives such as get_pipelines_by_tenant or get_integrations_by_tenant, and no exclusions or preconditions. Usage is only inferable from the name and the phrase "for a tenant," which is exactly the kind of inference good guidance should remove.

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