Skip to main content
Glama

独行录 / opcmenu

更新我的公司

update_my_company
Idempotent

登录;改本人公司,省略保留,无公司须slug/name;先get_my_company,slug_taken换slug。立即PUBLISHED,含归档重新发布,后台风控;下架/删用专用工具。

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": "update_my_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo公司名称
sizeNo团队人数规模,可选;SOLO 为一人
slugNo唯一 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 idempotentHint/destructiveHint, the description discloses several consequential traits: login is required, omitted fields are preserved rather than cleared, the record goes immediately to PUBLISHED, and archived companies are republished by this call. '后台风控' signals backend risk-control screening but stays too vague for an agent to predict whether a call may be rejected or held asynchronously.

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?

Every clause carries a distinct constraint — auth, target, merge semantics, conditional required fields, prerequisite lookup, collision handling, publication state, and excluded alternatives — with no filler. The telegraphic semicolon-chained style is dense to the point of being hard to parse, which keeps it from a 5.

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 no-output-schema mutation with nine optional fields, the definition covers auth, partial-update semantics, prerequisite read, slug collision recovery, resulting publication state, and sibling exclusions. The remaining gap is how successes and validation failures surface to the caller, which the description only partly implies via 'slug_taken'.

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 parameter names and formats are already documented and the baseline would be 3. The description adds two things the schema cannot express: that omitted fields are retained (critical for a 9-parameter, zero-required update), and that slug/name become effectively required when no company exists yet.

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 opening clause '改本人公司' names a specific verb (update) and a scoped resource (my own company), and the closing clause '下架/删用专用工具' explicitly rules out the sibling tools archive_my_company and delete_my_company. The only blur is '无公司须slug/name', which hints at upsert/create behavior and leaves an agent slightly unsure whether this tool can create a company.

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 states the prerequisite ('登录'), prescribes a workflow ('先get_my_company') and a recovery branch ('slug_taken换slug'), and redirects takedown/deletion to dedicated tools. What it does not give is an explicit condition for when updating is not appropriate at all (e.g. insufficient permission tiers).

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