Skip to main content
Glama

AgentValCon — Agent Value Gateway

Run a published workflow

run_workflow

Run one published workflow after reviewing it with workflow_details. Pass the definition_hash you reviewed; a changed workflow is refused. To get a task id at once, put "task": {} in the tools/call params next to "name" and "arguments" (not inside arguments), then follow it with tasks/get, tasks/result and tasks/cancel. Only published templates run; paid (x402) steps never run without their own explicit choice. Ads: one "Advertisement" in a separate sponsored array, also in _meta["biz.agentconcierge/sponsored"], never in the text content; results unchanged. Ads: a successful free result carries one advertisement as an object in _meta["biz.agentconcierge/advertisement"], never in the content; it never changes the output and cannot be turned off.

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": {
      "template_id": "<template_id>",
      "definition_hash": "<definition_hash>"
    },
    "name": "run_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoDeclared product input fields, when the workflow has them; omit it or send {} when it has none.
template_idYesPublished workflow id from search_workflows.
definition_hashYesdefinition_hash returned by workflow_details for the version you reviewed.

Output Schema

NameRequiredDescriptionDefault
okNo
textYes
intentNo
statusNo
visitorNoSession transport only; never put it in answer text.
executionNo
sponsoredNoOne labelled Advertisement, apart from the results; `disclosure` says paid or house. It does not affect ranking, selection or test results.
direct_onlyNoNot run by this gateway; not a recommendation.
recommendationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / description
      Previous value: -"Structured tool result. Fields vary by operation and outcome; inspect isError and execution status before acting."New value: +"Fields vary by operation; check isError and status first."
    • changedOutput schema / properties / direct_only / description
      Previous value: -"Matches the gateway does not run (connection_available false, with connection_reason and the provider's direct_endpoint when public). Never a recommendation to call through this server."New value: +"Not run by this gateway; not a recommendation."
    • changedOutput schema / properties / sponsored / description
      Previous value: -"One item labelled Advertisement, after and apart from the results: label, advertiser, title, text, url and a `disclosure` object (paid_placement and house say whether an advertiser paid or it is an AgentValCon house advertisement). Advertising does not affect ranking, selection or test results."New value: +"One labelled Advertisement, apart from the results; `disclosure` says paid or house. It does not affect ranking, selection or test results."
    • changedOutput schema / properties / visitor / description
      Previous value: -"Session transport only. Never include identity or tokens in answer text."New value: +"Session transport only; never put it in answer text."
    • removedOutput schema / properties / visitor / properties / token / description
      Removed value: -"Opaque continuation credential; send only in the session transport."
  2. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"Declared product input fields, when the workflow has them."New value: +"Declared product input fields, when the workflow has them; omit it or send {} when it has none."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / direct_only
      Added value: +{
      +  "description": "Matches the gateway does not run (connection_available false, with connection_reason and the provider's direct_endpoint when public). Never a recommendation to call through this server.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
    • addedOutput schema / properties / sponsored
      Added value: +{
      +  "description": "One item labelled Advertisement, after and apart from the results: label, advertiser, title, text, url and a `disclosure` object (paid_placement and house say whether an advertiser paid or it is an AgentValCon house advertisement). Advertising does not affect ranking, selection or test results.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "maxItems": 1,
      +  "type": "array"
      +}
  4. Changed3 schema fields changed
    • addedOutput schema / properties / visitor / additionalProperties
      Added value: +false
    • addedOutput schema / properties / visitor / description
      Added value: +"Session transport only. Never include identity or tokens in answer text."
    • addedOutput schema / properties / visitor / properties
      Added value: +{
      +  "id": {
      +    "type": "string",
      +    "x-sensitive": true
      +  },
      +  "session_status": {
      +    "type": "string"
      +  },
      +  "token": {
      +    "description": "Opaque continuation credential; send only in the session transport.",
      +    "type": "string",
      +    "x-sensitive": true
      +  }
      +}
  5. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, it discloses behavior an agent could not otherwise infer: the hash-mismatch refusal, the published-only restriction, the x402 paid-step opt-in, and a full async task protocol (task:{} outside arguments, then tasks/get, tasks/result, tasks/cancel). It also discloses the sponsored/advertisement injection into _meta, which is exactly the kind of side effect annotations cannot express.

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 prerequisite and hash rule are correctly front-loaded, but the closing material is bloated and self-duplicating: two consecutive 'Ads:' sentences describe the advertisement payload in different places, one says a separate `sponsored` array, the other an object in `_meta["biz.agentconcierge/advertisement"]`. That repetition of a low-value side note costs more attention than it earns and reads as contradictory.

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?

An output schema exists, so return values need not be spelled out, and the description still covers the two things an agent genuinely needs: the review-then-run prerequisite and the async task path. It is complete enough to call correctly, with only minor gaps around cost/credit implications of running a workflow.

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%, so the schema already documents all three parameters; the baseline is 3. The description adds real semantic weight for definition_hash (it must be the hash reviewed, and a mismatch is refused) and implies the optionality of `input`, but adds nothing for template_id beyond what the schema says.

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?

Opens with a specific verb and resource, 'Run one published workflow', and immediately names the sibling that must precede it, workflow_details. An agent can distinguish this from generic siblings like `call` on the strength of the 'published workflow' and definition_hash requirement.

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 prerequisite (review with workflow_details, pass that definition_hash), a refusal condition (changed workflow), and a scoping rule (only published templates; paid x402 steps need their own explicit choice). It never explains when to choose this over the generic `call` sibling, so it stops short of full alternative routing.

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