Skip to main content
Glama

独行录 / opcmenu

创建我的公司

create_company
Idempotent

登录;确认后建/更新本人公司,一人一家、立即公开/异步处理;slug_taken换slug。get_my_profile→确认→create_company→complete_onboarding。

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": {
      "slug": "<slug>",
      "name": "<name>"
    },
    "name": "create_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes公司名称
sizeNo团队人数规模,可选;SOLO 为一人
slugYes唯一 URL 标识:小写字母/数字/连字符
logoUrlNoLogo
taglineNo一句话定位
locationNo所在地
websiteUrlNo官网
descriptionNo详细介绍,可选
foundedYearNo成立年份

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / description / description
      Previous value: -"详细介绍,可选"New value: +"详细介绍,可选"
    • changedInput schema / properties / size / description
      Previous value: -"团队人数规模,可选;SOLO 为一人"New value: +"团队人数规模,可选;SOLO 为一人"
  2. Changed9 schema fields changed
    • changedInput schema / properties / description / description
      Previous value: -"详细介绍:在做什么、为谁做、进展,越详细内容质量越高"New value: +"详细介绍,可选"
    • changedInput schema / properties / foundedYear / description
      Previous value: -"成立年份,可选"New value: +"成立年份"
    • changedInput schema / properties / location / description
      Previous value: -"所在地,可选"New value: +"所在地"
    • changedInput schema / properties / logoUrl / description
      Previous value: -"Logo 图 URL,可选"New value: +"Logo"
    • changedInput schema / properties / name / description
      Previous value: -"公司 / 工作室名称"New value: +"公司名称"
    • changedInput schema / properties / size / description
      Previous value: -"团队规模,可选:SOLO(一人公司) | SIZE_2_5(2-5 人) | SIZE_6_10(6-10 人) | SIZE_11_50(11-50 人) | SIZE_50_PLUS(50 人以上)"New value: +"团队人数规模,可选;SOLO 为一人"
    • changedInput schema / properties / slug / description
      Previous value: -"公司主页 URL 标识,小写字母/数字/连字符,全局唯一"New value: +"唯一 URL 标识:小写字母/数字/连字符"
    • changedInput schema / properties / tagline / description
      Previous value: -"一句话定位,可选"New value: +"一句话定位"
    • changedInput schema / properties / websiteUrl / description
      Previous value: -"官网 URL,可选"New value: +"官网"
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the idempotentHint/destructiveHint annotations, it discloses login requirement, the one-company-per-person rule, immediate public visibility with asynchronous processing, and the slug_taken failure mode with its remedy. That is meaningful operational context the annotations do not carry.

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?

Very short and front-loaded with the login precondition, and the arrow-notation workflow is easy to scan. The telegraphic, punctuation-heavy style trades some readability for density, but no sentence is wasted.

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 nine-parameter creation tool with full schema descriptions and no output schema, the description covers preconditions, cardinality, visibility timing, error recovery, and the surrounding workflow. What happens on success (returned company object, async job identity) is not described, a minor gap given the emphasis on asynchronous processing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns a bump by explaining slug conflict behavior (slug_taken → choose another slug), which is runtime semantics the schema cannot express. Other parameters such as size, tagline, and foundedYear are left entirely to the schema.

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 states a specific verb and resource: create or update the caller's own company, with the constraint of one company per person. It is distinguishable from sibling admin tools such as create_organization, but the '建/更新' (create/update) phrasing blurs the line with the sibling update_my_company, which the description never acknowledges.

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?

It prescribes an explicit sequence – get_my_profile → confirm → create_company → complete_onboarding – plus a login precondition, so the agent knows both the entry and exit points of the flow. It does not state when to prefer update_my_company over this tool for an existing company, which is the one obvious alternative left unaddressed.

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