Skip to main content
Glama

marketplace_invoke

Invoke an allowlisted skill/service/publication as an A2A task. Requires consumer agent_token. Payment is SIMULATION only.

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": {
      "agent_token": "<agent_token>",
      "skill": "<skill>"
    },
    "name": "marketplace_invoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
skillYesservice_id, workflow_id, or pub_…
payloadNo
agent_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two meaningful behaviors: the consumer agent_token requirement and that payment is SIMULATION only. It omits other important traits — whether invocation is asynchronous, whether a task/job id is returned, idempotency, and failure modes — which matter for an execution tool.

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?

Three short sentences, front-loaded with the action and then the two binding constraints. No filler or repetition; every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations and no output schema exist, so the description should cover the payload shape and what the call returns (task id, status), and it covers neither. For a tool that triggers remote execution with a nested object parameter, the definition leaves an agent unable to construct or follow up on the call confidently.

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 coverage is only 33%, so the description needs to compensate, and it partially does by clarifying that agent_token is the consumer's token. However, "payload" — a nested object that is the actual argument passed to the remote capability — is undocumented in both the schema and the description, a serious gap for the core input.

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 names a specific verb ("Invoke") and the resource class ("allowlisted skill/service/publication"), plus the execution mechanism ("as an A2A task"). That verb differs sharply from the sibling metadata verbs (discover, info, status, artifact_get), but the description never explicitly states the distinction, so it stops 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 Guidelines3/5

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

It implies preconditions (target must be allowlisted, caller must hold a consumer agent_token) but gives no explicit when-to-use vs when-not guidance and never points to marketplace_discover for finding a valid skill id. Usage is inferable rather than stated.

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