Skip to main content
Glama

a2a2p — Agent-to-Agent-to-Physical

decide_co_invention_session

decide a free co-invention session. Free concept selection only. No research, model run, payment, procurement or manufacture is started. The private follow token authorizes agents to read and change this session. Only its SHA-256 digest is stored. Keep it secret.

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": {
      "session_id": "<session_id>",
      "follow_token": "<follow_token>",
      "actor": "<actor>",
      "concept_id": "<concept_id>",
      "version": "<version>",
      "decision": "<decision>",
      "reason": "<reason>"
    },
    "name": "decide_co_invention_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
actorYes
reasonYes
versionYes
decisionYes
concept_idYes
session_idYes
follow_tokenYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "concepts": {
      -        "items": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "decision": {
      -              "oneOf": [
      -                {
      -                  "type": "null"
      -                },
      -                {
      -                  "additionalProperties": true,
      -                  "properties": {
      -                    "at": {
      -                      "maxLength": 100,
      -                      "minLength": 1,
      -                      "pattern": "\\S",
      -                      "type": "string"
      -                    },
      -                    "by": {
      -                      "additionalProperties": true,
      -                      "properties": {
      -                        "kind": {
      -                          "enum": [
      -                            "person",
      -                            "agent",
      -                            "debbie"
      -                          ]
      -                        },
      -                        "name": {
      -                          "maxLength": 80,
      -                          "minLength": 1,
      -                          "pattern": "\\S",
      -                          "type": "string"
      -                        },
      -                        "untrusted": {
      -                          "type": "boolean"
      -                        }
      -                      },
      -                      "required": [
      -                        "kind"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "reason": {
      -                      "maxLength": 400,
      -                      "minLength": 1,
      -                      "pattern": "\\S",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "by",
      -                    "reason",
      -                    "at"
      -                  ],
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "id": {
      -              "maxLength": 100,
      -              "minLength": 1,
      -              "pattern": "\\S",
      -              "type": "string"
      -            },
      -            "job": {
      -              "oneOf": [
      -                {
      -                  "type": "null"
      -                },
      -                {
      -                  "description": "deb8 job reference, if any; this adapter cannot start a job",
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "looksLikeInstruction": {
      -              "type": "boolean"
      -            },
      -            "material": {
      -              "maxLength": 3878,
      -              "minLength": 1,
      -              "pattern": "\\S",
      -              "type": "string"
      -            },
      -            "provenance": {
      -              "additionalProperties": true,
      -              "properties": {
      -                "derivedFrom": {
      -                  "oneOf": [
      -                    {
      -                      "type": "null"
      -                    },
      -                    {
      -                      "maxLength": 100,
      -                      "minLength": 1,
      -                      "pattern": "\\S",
      -                      "type": "string"
      -                    }
      -                  ]
      -                },
      -                "materialDigest": {
      -                  "maxLength": 64,
      -                  "minLength": 64,
      -                  "pattern": "\\S",
      -                  "type": "string"
      -                },
      -                "receivedAt": {
      -                  "maxLength": 100,
      -                  "minLength": 1,
      -                  "pattern": "\\S",
      -                  "type": "string"
      -                },
      -                "via": {
      -                  "enum": [
      -                    "api",
      -                    "connector",
      -                    "workspace",
      -                    "deb8"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "via",
      -                "derivedFrom",
      -                "materialDigest",
      -                "receivedAt"
      -              ],
      -              "type": "object"
      -            },
      -            "sessionId": {
      -              "maxLength": 100,
      -              "minLength": 1,
      -              "pattern": "\\S",
      -              "type": "string"
      -            },
      -            "source": {
      -              "additionalProperties": true,
      -              "properties": {
      -                "kind": {
      -                  "enum": [
      -                    "person",
      -                    "agent",
      -                    "debbie"
      -                  ]
      -                },
      -                "name": {
      -                  "maxLength": 80,
      -                  "minLength": 1,
      -                  "pattern": "\\S",
      -                  "type": "string"
      -                },
      -                "untrusted": {
      -                  "type": "boolean"
      -                }
      -              },
      -              "required": [
      -                "kind"
      -              ],
      -              "type": "object"
      -            },
      -            "state": {
      -              "enum": [
      -                "proposed",
      -                "accepted",
      -                "rejected"
      -              ]
      -            },
      -            "title": {
      -              "maxLength": 120,
      -              "minLength": 1,
      -              "pattern": "\\S",
      -              "type": "string"
      -            },
      -            "version": {
      -              "minimum": 1,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "sessionId",
      -            "title",
      -            "material",
      -            "looksLikeInstruction",
      -            "source",
      -            "provenance",
      -            "state",
      -            "decision",
      -            "job",
      -            "version"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "contract": {
      -        "const": "a2a2p.co-invention/1.0.0"
      -      },
      -      "follow_token": {
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "pattern": "\\S",
      -        "type": "string"
      -      },
      -      "follow_url": {
      -        "maxLength": 300,
      -        "minLength": 1,
      -        "pattern": "\\S",
      -        "type": "string"
      -      },
      -      "next": {
      -        "maxLength": 1000,
      -        "minLength": 1,
      -        "pattern": "\\S",
      -        "type": "string"
      -      },
      -      "session": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "agent": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "name": {
      -                "maxLength": 40,
      -                "minLength": 1,
      -                "pattern": "\\S",
      -                "type": "string"
      -              },
      -              "platform": {
      -                "maxLength": 36,
      -                "minLength": 1,
      -                "pattern": "\\S",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "name",
      -              "platform"
      -            ],
      -            "type": "object"
      -          },
      -          "domain": {
      -            "maxLength": 200,
      -            "minLength": 1,
      -            "pattern": "\\S",
      -            "type": "string"
      -          },
      -          "id": {
      -            "maxLength": 100,
      -            "minLength": 1,
      -            "pattern": "\\S",
      -            "type": "string"
      -          },
      -          "idea": {
      -            "maxLength": 1750,
      -            "minLength": 15,
      -            "pattern": "\\S",
      -            "type": "string"
      -          },
      -          "revision": {
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "state": {
      -            "enum": [
      -              "open",
      -              "ended"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "idea",
      -          "domain",
      -          "agent",
      -          "state",
      -          "revision"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "contract",
      -      "session",
      -      "concepts",
      -      "next"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "const": "rate_limited"
      -      },
      -      "contract": {
      -        "const": "a2a2p.co-invention/1.0.0"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "maxLength": 80,
      -            "minLength": 1,
      -            "pattern": "\\S",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 1000,
      -            "minLength": 1,
      -            "pattern": "\\S",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "rate_limit": {
      -        "description": "a2a2p.rate-limit/2.0.0 receipt",
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "contract",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "concepts": {
      +        "items": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "decision": {
      +              "oneOf": [
      +                {
      +                  "type": "null"
      +                },
      +                {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "at": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "pattern": "\\S",
      +                      "type": "string"
      +                    },
      +                    "by": {
      +                      "additionalProperties": true,
      +                      "properties": {
      +                        "kind": {
      +                          "enum": [
      +                            "person",
      +                            "agent",
      +                            "debbie"
      +                          ]
      +                        },
      +                        "name": {
      +                          "maxLength": 80,
      +                          "minLength": 1,
      +                          "pattern": "\\S",
      +                          "type": "string"
      +                        },
      +                        "untrusted": {
      +                          "type": "boolean"
      +                        }
      +                      },
      +                      "required": [
      +                        "kind"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "reason": {
      +                      "maxLength": 400,
      +                      "minLength": 1,
      +                      "pattern": "\\S",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "by",
      +                    "reason",
      +                    "at"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "maxLength": 100,
      +              "minLength": 1,
      +              "pattern": "\\S",
      +              "type": "string"
      +            },
      +            "job": {
      +              "oneOf": [
      +                {
      +                  "type": "null"
      +                },
      +                {
      +                  "description": "deb8 job reference, if any; this adapter cannot start a job",
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "looksLikeInstruction": {
      +              "type": "boolean"
      +            },
      +            "material": {
      +              "maxLength": 3878,
      +              "minLength": 1,
      +              "pattern": "\\S",
      +              "type": "string"
      +            },
      +            "provenance": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "derivedFrom": {
      +                  "oneOf": [
      +                    {
      +                      "type": "null"
      +                    },
      +                    {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "pattern": "\\S",
      +                      "type": "string"
      +                    }
      +                  ]
      +                },
      +                "materialDigest": {
      +                  "maxLength": 64,
      +                  "minLength": 64,
      +                  "pattern": "\\S",
      +                  "type": "string"
      +                },
      +                "receivedAt": {
      +                  "maxLength": 100,
      +                  "minLength": 1,
      +                  "pattern": "\\S",
      +                  "type": "string"
      +                },
      +                "via": {
      +                  "enum": [
      +                    "api",
      +                    "connector",
      +                    "workspace",
      +                    "deb8"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "via",
      +                "derivedFrom",
      +                "materialDigest",
      +                "receivedAt"
      +              ],
      +              "type": "object"
      +            },
      +            "sessionId": {
      +              "maxLength": 100,
      +              "minLength": 1,
      +              "pattern": "\\S",
      +              "type": "string"
      +            },
      +            "source": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "kind": {
      +                  "enum": [
      +                    "person",
      +                    "agent",
      +                    "debbie"
      +                  ]
      +                },
      +                "name": {
      +                  "maxLength": 80,
      +                  "minLength": 1,
      +                  "pattern": "\\S",
      +                  "type": "string"
      +                },
      +                "untrusted": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "kind"
      +              ],
      +              "type": "object"
      +            },
      +            "state": {
      +              "enum": [
      +                "proposed",
      +                "accepted",
      +                "rejected"
      +              ]
      +            },
      +            "title": {
      +              "maxLength": 120,
      +              "minLength": 1,
      +              "pattern": "\\S",
      +              "type": "string"
      +            },
      +            "version": {
      +              "minimum": 1,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "sessionId",
      +            "title",
      +            "material",
      +            "looksLikeInstruction",
      +            "source",
      +            "provenance",
      +            "state",
      +            "decision",
      +            "job",
      +            "version"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "contract": {
      +        "const": "a2a2p.co-invention/1.1.0"
      +      },
      +      "follow_token": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "pattern": "\\S",
      +        "type": "string"
      +      },
      +      "follow_url": {
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "pattern": "\\S",
      +        "type": "string"
      +      },
      +      "next": {
      +        "maxLength": 1000,
      +        "minLength": 1,
      +        "pattern": "\\S",
      +        "type": "string"
      +      },
      +      "session": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "agent": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "name": {
      +                "maxLength": 40,
      +                "minLength": 1,
      +                "pattern": "\\S",
      +                "type": "string"
      +              },
      +              "platform": {
      +                "maxLength": 36,
      +                "minLength": 1,
      +                "pattern": "\\S",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "name",
      +              "platform"
      +            ],
      +            "type": "object"
      +          },
      +          "domain": {
      +            "maxLength": 200,
      +            "minLength": 1,
      +            "pattern": "\\S",
      +            "type": "string"
      +          },
      +          "id": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "pattern": "\\S",
      +            "type": "string"
      +          },
      +          "idea": {
      +            "maxLength": 1750,
      +            "minLength": 15,
      +            "pattern": "\\S",
      +            "type": "string"
      +          },
      +          "revision": {
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "state": {
      +            "enum": [
      +              "open",
      +              "ended"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "idea",
      +          "domain",
      +          "agent",
      +          "state",
      +          "revision"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "contract",
      +      "session",
      +      "concepts",
      +      "next"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "const": "rate_limited"
      +      },
      +      "contract": {
      +        "const": "a2a2p.co-invention/1.1.0"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "maxLength": 80,
      +            "minLength": 1,
      +            "pattern": "\\S",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 1000,
      +            "minLength": 1,
      +            "pattern": "\\S",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "rate_limit": {
      +        "description": "a2a2p.rate-limit/2.0.0 receipt",
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "contract",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations the description bears the full load, and it does add real value on the security side: the follow_token authorizes read/change, only its SHA-256 digest is stored, and it must be kept secret. However, it says nothing about what the decision actually mutates, whether it is reversible, or how the 'version' parameter guards against stale writes — key behavioral facts for a mutation tool.

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?

Four terse sentences with no padding, and the scope-limiting clause is front-loaded. The fragmented phrasing ('Free concept selection only.') costs a little readability but nothing is wasted.

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?

For a 7-parameter mutation tool with zero annotations and zero schema descriptions, the description is far too thin — it omits what the decision changes, what a version mismatch does, and what the actor forms mean. An output schema exists, so return values need not be covered, but the input-side gaps remain substantial.

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% across 7 required parameters, and the description only partially explains one of them (follow_token's secrecy/digest). session_id, concept_id, actor, decision and especially version (which strongly implies optimistic concurrency) and reason are left entirely to the bare schema, so the description does not compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'decide' plus 'co-invention session' names a resource but leaves the actual action ambiguous — it reads as approving/selecting a 'free concept', and the accept/reject nature of the decision only surfaces via the schema enum. It does distinguish the scope ('free concept selection only, no research/model run/payment/procurement/manufacture'), but it never positions itself against close siblings like steer_co_invention_session or end_co_invention_session.

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?

The only usage signal is the negative one — that nothing downstream is started — which implies a cheap decision step, but there is no explicit statement of when to call this rather than steer/feed/end/follow_co_invention_session. Alternatives are never named, so the agent must infer routing from sibling names alone.

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